Compiled app designer uitable crashes in standalone application

조회 수: 7 (최근 30일)
Shlomi Bejerano
Shlomi Bejerano 2022년 1월 16일
답변: Shlomi Bejerano 2022년 4월 3일
hi
my app designer program crashes when run in standalone (exe) mode when i call uitable function.
ran it in 'DOS' mode - no error messages thrown..
tried 'try-catch' bracket - no respone..
works fine in editor environment!
in the dark..
running:
MATLAB Version: 9.6.0.1472908 (R2019a) Update 9
thanks a lot for your comments.
mat

답변 (2개)

Srija Kethiri
Srija Kethiri 2022년 4월 1일
Hi Shlomi,
From my understanding, your app designer is getting crashed while calling the uitable function in stand-alone mode
As your stand-alone does not behave as expected and you are unable to see any error messages or warnings, then proceed as follows in order to debug the runtime behavior:
1. Open a command prompt (DOS / shell).
2. Navigate to the folder that contains your executable using the "cd" command.
3. Start your stand-alone from the command prompt, any error messages or warnings should appear as they usually do in the MATLAB Command Window.
4. Windows users only: If you generated your stand-alone as a "Windows Standalone Application" (MCC option -e), then you will need to rebuild your project without this option in order for the DOS Command Window not to get suppressed, otherwise you will not be able to see the error messages or warnings that might be shown.
If you want to debug a compiled MATLAB shared library, you can also use functionality such as message boxes or write log files to get more information for debugging purposes. See MATLAB Answers Post below for more information:
Hope this helps!

Shlomi Bejerano
Shlomi Bejerano 2022년 4월 3일
Hey,
Thanks very much for your helpful answer.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by