Thread Subject:
GUI browse button and load pdf.

Subject: GUI browse button and load pdf.

From: Justin

Date: 2 Feb, 2011 14:49:04

Message: 1 of 2

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.

Subject: GUI browse button and load pdf.

From: Sean de

Date: 2 Feb, 2011 17:24:03

Message: 2 of 2

"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

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
browse button Valeriu 1 Jul, 2012 12:46:07
pdf Justin 2 Feb, 2011 09:54:05
browse button Justin 2 Feb, 2011 09:54:05
image Justin 2 Feb, 2011 09:54:05
gui Justin 2 Feb, 2011 09:54:05
rssFeed for this Thread

Contact us