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

조회 수: 7 (최근 30일)
ARAVINDHAN RAMESH
ARAVINDHAN RAMESH 2014년 4월 17일
댓글: Fawad Chandio 2019년 9월 4일
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?

채택된 답변

Chandrasekhar
Chandrasekhar 2014년 4월 17일
편집: Chandrasekhar 2014년 4월 17일
use the following command in the call back function of the push button
winopen('mydoc.doc')
winopen('myimage.jpg')
winopen('mypdf.pdf')
  댓글 수: 2
ARAVINDHAN RAMESH
ARAVINDHAN RAMESH 2014년 4월 17일
It's working. Thanks!
Fawad Chandio
Fawad Chandio 2019년 9월 4일
thank you so much Sir .
great job faster

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by