How do I open a file by pressing a pushbutton in GUIDE?

5 Ansichten (letzte 30 Tage)
I'm required to open a file(A PDF, A image etc.) when a pushbutton is pressed. I'm working using GUIDE. What code and where do I type in?

Akzeptierte Antwort

Chandrasekhar
Chandrasekhar am 17 Apr. 2014
Bearbeitet: Chandrasekhar am 17 Apr. 2014
use the following command in the call back function of the push button
winopen('mydoc.doc')
winopen('myimage.jpg')
winopen('mypdf.pdf')

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by