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.

 采纳的回答

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 个评论

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 个)

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 个评论

OK, thanks for the help. Is workspace browser used included if I save the variables and then load them after within another fuction?
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.
maybe it is that I am using clc to clear something that doesn't exist. I will try by erasing that.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Application Deployment 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by