My program developed in App Designer is not fully functional in Runtime

조회 수: 7 (최근 30일)
Leon
Leon 2025년 7월 18일
댓글: dpb 2025년 7월 18일
Does anyone know why my program developed in App Designer is not working properly within Runtime? Is that because I have some codes interacting with the command windows, e.g., disp functions?
  댓글 수: 3
Walter Roberson
Walter Roberson 2025년 7월 18일
Are you possibly calling functions that cannot be compiled using MATLAB Compiler? For example, nothing in the Symbolic Toolbox can be compiled.
dpb
dpb 2025년 7월 18일
The use of disp won't be the problem, however; if you compiled without the console window, it won't be visible, but the code will still run.
You could try recompiling and not use the mcc "-e" option which will then also open a console window when run the app and then the command window output will be visible. If use the interactive tool inside App Designer to do the compilation instead of a command line, there is an option to uncheck under the "Additional runtime settings" section to do that. It may also be helpful in that error messages to the command window will be visible although the console will only be visible while the app is running so if it crashes, may have to be quick to see them...

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

태그

제품


릴리스

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by