필터 지우기
필터 지우기

Errors in app designer 2020b

조회 수: 26 (최근 30일)
Carlos S
Carlos S 2022년 2월 2일
편집: prabhat kumar sharma 2023년 10월 6일
I created a GUI in apdesigner a while back (possibly in v2019b). I tried to re-run it in v202b and it fails to run. I get the following error messages (XXXXXXXX refers to my application):
Unable to resolve the name matlab.apps.internal.GraphicsCallbackProxy.
Error in appdesigner.internal.service.AppManagementService (line 36)
obj.CallbackProxy = matlab.apps.internal.GraphicsCallbackProxy;
Error in appdesigner.internal.service.AppManagementService.instance (line 45)
obj = appdesigner.internal.service.AppManagementService();
Error in matlab.apps.AppBase/registerApp (line 47)
ams = appdesigner.internal.service.AppManagementService.instance();
Error in XXXXXXXX (line 596)
registerApp(app, app.LocationErrorMapUIFigure)
I then created a new empty GUI in appdesigner and when trying to run it I get similar errors.
I have tried a posted solution:
rehash toolboxcache
without success.
  댓글 수: 4
Benjamin Thompson
Benjamin Thompson 2022년 2월 3일
You can post binary files including mlapp. There is a size limit for files but this type should not be a problem.
Carlos S
Carlos S 2022년 2월 3일
See posted dummy app (one edit field, one button). I get the following error when running:
Warning: The following error was caught while executing 'matlab.apps.AppBase' class destructor:
Unable to resolve the name matlab.apps.internal.GraphicsCallbackProxy.
Error in appdesigner.internal.service.AppManagementService (line 36)
obj.CallbackProxy = matlab.apps.internal.GraphicsCallbackProxy;
Error in appdesigner.internal.service.AppManagementService.instance (line 45)
obj = appdesigner.internal.service.AppManagementService();
Error in matlab.apps.AppBase/delete (line 9)
ams = appdesigner.internal.service.AppManagementService.instance();
Error in app1 (line 50)
createComponents(app)
> In app1 (line 50)
Unable to resolve the name matlab.apps.internal.GraphicsCallbackProxy.
Error in appdesigner.internal.service.AppManagementService (line 36)
obj.CallbackProxy = matlab.apps.internal.GraphicsCallbackProxy;
Error in appdesigner.internal.service.AppManagementService.instance (line 45)
obj = appdesigner.internal.service.AppManagementService();
Error in matlab.apps.AppBase/registerApp (line 47)
ams = appdesigner.internal.service.AppManagementService.instance();
Error in app1 (line 53)
registerApp(app, app.UIFigure)

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

답변 (1개)

prabhat kumar sharma
prabhat kumar sharma 2023년 10월 6일
편집: prabhat kumar sharma 2023년 10월 6일
Hi Carlos,
I understand that you are facing an issue while running the app using MATLAB App Designer. I have tried to reproduce the issue with the app1.mlapp file you shared, and it appears that the application worked correctly on my side.
I believe that this issue could be caused by one of the following reasons:
1.Please ensure that the path to your new application is added to MATLAB. It can be done as follows:
  1. Launch MATLAB.
  2. Navigate to your file in current folder.
  3. Right click on your file and select “Add to path > Selected File”.
2. The error you are receiving is usually caused by MATLAB having a pathing error. To resolve this error, please run the following commands in MATLAB in order:
restoredefaultpath
savepath
I hope this information helps you resolve the issue you are experiencing.
Best regards,
Prabhat Sharma

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by