I'm new to using matlab and GUI. I'm writing a GUI where I'd like to add a Browse Button, lookup a downloaded .pdf (or other image) file and have the image come up on the GUI.
Is there any sample code that can be provided? Ideally I'd like a little more than just basic commands as I'm still learning the syntax of everything.
Thank You.
|
|
1
|
|
|
|
Reply
|
Justin
|
2/2/2011 2:49:04 PM |
|
"Justin" wrote in message <iibqsv$r9o$1@fred.mathworks.com>...
> I'm new to using matlab and GUI. I'm writing a GUI where I'd like to add a Browse Button, lookup a downloaded .pdf (or other image) file and have the image come up on the GUI.
>
> Is there any sample code that can be provided? Ideally I'd like a little more than just basic commands as I'm still learning the syntax of everything.
>
> Thank You.
a start:
doc uigetfile %gets the file path
doc uicontrol %pushbutton
doc imread %if you have image processing toolbox: load image, I don't know about pdfs
Also:
http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples
GUI 27
-Sean
|
|
2
|
|
|
|
Reply
|
Sean
|
2/2/2011 5:24:03 PM
|
|