Compiled app designer uitable crashes in standalone application

6 visualizzazioni (ultimi 30 giorni)
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

Risposte (2)

Srija Kethiri
Srija Kethiri il 1 Apr 2022
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 il 3 Apr 2022
Hey,
Thanks very much for your helpful answer.

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by