How do I open a file by pressing a pushbutton in GUIDE?
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
댓글 수: 1
채택된 답변
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!