standalone application error dispaly

1 回表示 (過去 30 日間)
Milad
Milad 2014 年 1 月 28 日
回答済み: Milad 2014 年 1 月 29 日
When I create an standalone (.exe) application using build command, and then run it on another computer using mcrinstaller, where the possible errors will be shown? in Matlab we see errors and warnings in the workspace.

採用された回答

David Sanchez
David Sanchez 2014 年 1 月 28 日
it depends on how you are handling the errors in your code. I would recommend you to take a look at try/catch documentation
doc try
In case you do not handle errors in anyway, the system will pop up an error message in case of encountering one such that the program can not run further.

その他の回答 (1 件)

Milad
Milad 2014 年 1 月 29 日
No error was displayed when I ran the exe file with an error I intentionally let happen. I hoped the error messages were displayed in a cmd window, but nothing was displayed and the program execution stoped.
I can try and catch the errors I can think of. but what if some other error happens. what if a very simple error happens ( like: Undefined function or variable 'a'. ). Is there any solution or workaround?

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by