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.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Dez. 2022

0 Stimmen

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 Kommentare

What do you mean by tool ribbon?
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:

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Steven Lord
Steven Lord am 9 Dez. 2022

0 Stimmen

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 Kommentare

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.
It worked. Thank you!!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Application Deployment finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by