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
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 Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!