Getting an image
4 views (last 30 days)
Show older comments
How to get image from a source without giving its url in matlab. Like a browse button. Can anyone help me ?
1 Comment
Accepted Answer
Thomas
on 15 Mar 2012
If you image is on a path in the local machine you can import it:
File> Import Data
Choose:
Enable:All Files(*.*)
Select your particular image, it will give you options to create Variables matching preview, Click finish and all the data from the image will be loaded in a variable of size (MxNxZ)
More Answers (0)
See Also
Categories
Find more on Import, Export, and Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!