How do I export standalone apps with external toolboxes?
조회 수: 4 (최근 30일)
이전 댓글 표시
I'm creating an applicaton (with the App Designer instrument) that analyses the transfer function given as an input by the user, showing bode plots, response to an input signal etc. The app works just fine while i run it from the App Designer, but i'd prefer it as a standalone app that can be run from my desktop. The problem is that the app compiles, but as soon as I input the the transfer function i need to analyse, an error shows up concerning the symbolic toolbox: "Undefined function 'syms' ". The line in the code that causes it it the following:
syms s;
symtf = eval(inp);
where symtf contains the symbolic expression of the transfer funcion given as a string in inp. Running the appliation from the 'Run' button in the App Disegner window doen't produce this error. I'm guessing that the app isn't including the Symbolic Math toolbox used to perform this operation while creating the standalone app executable. How do I solve this problem? Should I use a different method to evaluate the symbolic expression given as a string?
댓글 수: 0
채택된 답변
Areej Varamban Kallan
2019년 1월 4일
Hi Alberto,
The Matlab Compiler which is used to create standalone executable does not support Symbolic Math Toolbox. This mentioned in the documentation also.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!