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

5 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Chandrasekhar
Chandrasekhar el 17 de Abr. de 2014
Editada: Chandrasekhar el 17 de Abr. de 2014
use the following command in the call back function of the push button
winopen('mydoc.doc')
winopen('myimage.jpg')
winopen('mypdf.pdf')
  2 comentarios
ARAVINDHAN RAMESH
ARAVINDHAN RAMESH el 17 de Abr. de 2014
It's working. Thanks!
Fawad Chandio
Fawad Chandio el 4 de Sept. de 2019
thank you so much Sir .
great job faster

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by