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

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:

댓글을 달려면 로그인하십시오.

추가 답변 (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

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!!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터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