GUI can not run well in MCR

2 ビュー (過去 30 日間)
BIN LIN
BIN LIN 2015 年 9 月 1 日
回答済み: Titus Edelhofer 2015 年 9 月 3 日
I make a GUI and use matlab compiler to build a .exe file. Then i try to open this .exe file in a computer which doesn;t have matlab. And i download the correct versions MCR. It can be open, but it can not calculate. I mean it can not show the same result as i run in matlab. It did not show the result. Anyone how to do deal with it?
  1 件のコメント
Image Analyst
Image Analyst 2015 年 9 月 1 日
All I can do is to try it, if you upload your source code.

サインインしてコメントする。

回答 (2 件)

Shruti Sapre
Shruti Sapre 2015 年 9 月 3 日
Hello,
I understand that you are running into issues after compiling a GUI in MATLAB. There are limitations with the MATLAB compiler when it comes to compiling functions related to the GUI. A number of functions in MATLAB cannot be compiled by the MATLAB Compiler.
Please see the list below and make sure that the functions you are using are not present in the below list:
Here is another link which talks about deployable code in MATLAB and the functions that cannot be compiled in MATLAB:
You may have to use different supported functions in order to be able to compile the code.
Hope this helps!
-Shruti

Titus Edelhofer
Titus Edelhofer 2015 年 9 月 3 日
Hi,
it would be good to find out what's failing. Open a console window (Windows Start-> CMD). Navigate to the folder where the .exe is a run it. Error messages will then appear in the CMD window which can be used to find out what's going wrong.
Titus

カテゴリ

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