Problem while creating a stand alone application from appdesigner

I am trying to test an app I designed using appdesigner but the app doesn't open correctly and the following error massage pops out. While creating the app in the compiler there were no errors so I am stuck without knowing what to do.

 採用された回答

Image Analyst
Image Analyst 2022 年 12 月 9 日

0 投票

You can't include applets in your compiled standalone executable, like the commands workspace, filebrowser, imtool, most of the Apps on the Apps tab of the tool ribbon, etc. If you need your end user to see the values of some variables, you'll have to put them on your GUI into a static text label or some other kind of control, or print them out to the console window with fprintf().

2 件のコメント

Jorge Ortega Torremocha
Jorge Ortega Torremocha 2022 年 12 月 12 日
What do you mean by tool ribbon?
Image Analyst
Image Analyst 2022 年 12 月 12 日
It's just the standard thing you see on nearly every windows program. It's the strip near the top of the program that has all the tool buttons on it. Here it is:

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

その他の回答 (1 件)

Steven Lord
Steven Lord 2022 年 12 月 9 日

0 投票

If you're trying to open the Workspace Browser from within your deployed application I'm 99% sure that falls into the "other development tools" category of functionality in MATLAB that is not supported for use with MATLAB Compiler.

4 件のコメント

Jorge Ortega Torremocha
Jorge Ortega Torremocha 2022 年 12 月 9 日
OK, thanks for the help. Is workspace browser used included if I save the variables and then load them after within another fuction?
Steven Lord
Steven Lord 2022 年 12 月 9 日
You should be able to use save and load in a stand-alone application. It's trying to open the Workspace Browser that's the problem here.
Jorge Ortega Torremocha
Jorge Ortega Torremocha 2022 年 12 月 12 日
maybe it is that I am using clc to clear something that doesn't exist. I will try by erasing that.
Jorge Ortega Torremocha
Jorge Ortega Torremocha 2022 年 12 月 12 日
It worked. Thank you!!

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

カテゴリ

ヘルプ センター および File ExchangeApplication Deployment についてさらに検索

製品

リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by