Assignin variables in a stand-alone application
이전 댓글 표시
I have a GUI with a button that uses the assignin() function to send variables to the 'base' for debug and analysis purposes when running the code in Matlab. What happens to these variables when the application is run as a stand-alone version? Should I disable the button when compiled as a stand-alone? Is there a test I can perform to determine if the button should be disabled or enabled?
댓글 수: 3
Geoff
2012년 6월 4일
By 'compiled', you mean actually compiled with the MatLab Compiler? GUI functionality is not available in such applications.
Walter Roberson
2012년 6월 4일
GUI functionality _is_ supported with MATLAB Compiler. GUI functionality is not, however, supported with MATLAB Coder.
John Petersen
2012년 6월 4일
채택된 답변
추가 답변 (1개)
Walter Roberson
2012년 6월 22일
0 개 추천
My previous answer might have been wrong about the base workspace existing in compiled applications. I am having difficulty finding documentation on this matter, but it is implied by Loren in http://blogs.mathworks.com/loren/2010/11/18/deploying-standalone-applications/ and in a small number of ambiguous cssm postings .
(Some day I'm going to be able to afford to get a MATLAB Compiler license and try these things myself... But it probably won't be soon.)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!