How do I resolve the "AppManagementService indexing warning" while calling an app from a guide GUI?

조회 수: 1 (최근 30일)
So I have a set of guide GUI's that are already set up and are in working order. I needed to add another GUI, that would be accessed by one of the previous GUI's, to extend functionality. Based on what the new GUI needed to do I thought it may be better to attempt to use the App Designer and so far so good. I completed creating and testing the new app window and call it from the guide GUI just fine except for receiving the warning "A value of class 'appdesigner.internal.service.AppManagementService' was indexed with no subscripts specified. Currently the result of this operation is the indexed value itself, but in a future release, it will be an error."
I thought this may have something to do with how I use the app within the guide GUI but I can't seem to come up with a reason I get the warning. The biggest concern is that the end user will likely upgrade MatLab when they can and I don't want the app to stop working on them just for upgrading.
Just for reference this is how the app is being called from a guide GUI. To note as well this error is not always displayed to the command window on every run. It seems to occur fairly randomly.
myapp = NewApp();
NewApp.StartUp(setupInfo); %Sets up values in the app and calls uiwait
if myapp.wasCanceled
myApp.Dispose(); %Deletes the app instance without getting return values
return;
end
newvalues = myApp.returnvalues;
myApp.Dispose();
  댓글 수: 1
Khalid Rajab
Khalid Rajab 2017년 12월 14일
Hi Wesley,
Just wondering, did you find a solution to this?
I've come up with the same problem, and the code I'm using no long works when moving from MATLAB 2017a to 2017b.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by