views:

221

answers:

1

I actually have 2 queries:

  1. How do I display the data of a variable in a msgbox? In other words, if I have dist=3765 at the end of my program and I want to display it in a msgbox, how do I do it?

  2. I want the user to select an input file (suppose an image) from a folder in my MATLAB program using an explorer window at runtime. How do I code that in MATLAB, or is there an existing function available for it?

+4  A: 
gnovice
Thanks the info was nice and uigetfile did the trick with imread for reading the image.
anubhav
Glad to help! I for one was very relieved when I discovered these various dialog functions... it saved me from having to make them myself. ;)
gnovice