Open/close matlab app through command window
이전 댓글 표시
Hi
I am developing a Matlab app, and I would like to give two options to the user, - the GUI or programming using functions developed in the app. Is there any way I can run/close an app, without opening the GUI, through command window prompts, and when user clicks on the app-icon the GUI should open just like usual apps.
Thanks
-Punit
댓글 수: 3
George Lazaridis
2014년 7월 17일
Yes, you can type !*here you put the pathname of your executable* and the target application will open. Also, check the winopen() function if you need a file to open with a default windows application.
Cheers
Punit
2014년 7월 19일
Punit
2014년 7월 19일
답변 (1개)
David Barry
2017년 11월 29일
0 개 추천
Based on your comments it sounds like you should package your code as a toolbox. Toolbox code would then always be available on a users path. You can also distribute apps within toolboxes so you can still keep the app available in the app gallery. Take a look at the doc .
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!