Issues with Grids in the App Designer

조회 수: 8 (최근 30일)
Jesper Bjerregaard
Jesper Bjerregaard 2021년 7월 28일
댓글: Khaleel 2022년 8월 31일
Hi,
I'm currently designing a rather extensive app, and I've run into an issue I can't seem to grasp.
The problem arises when I run my app and afterwards try to open it in App Designer. I get the error below, not from running the app, but just opening it in App Designer. It only occurs after I've run the app. If I close down MATLAB compleatly, re-open MATLAB, and then open the app in App Designer again, the error does not occur. But as soon as I've actually run and used the app, I can no longer open the app in App Designer.
I've tried to clear the work space and the memory without any influence.
Error in executing callback registered with ViewModel:
Children may only be set to a permutation of itself.
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController/arrangeNewlyAddedChild (line 87)
obj.Model.Children = arrangeChildren;
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController/processClientCreatedPeerNode (line 265)
obj.arrangeNewlyAddedChild(child, componentIndex);
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController/handlePeerNodeAdded (line 315)
obj.processClientCreatedPeerNode(peerNode);
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController>@(varargin)obj.handlePeerNodeAdded(varargin{:}) (line 175)
obj.ChildAddedListener = addlistener(obj.ProxyView.PeerNode,'childAdded', @obj.handlePeerNodeAdded);
Error in viewmodel.internal.factory.ManagerFactoryProducer>@(src,event)callback(src,viewmodel.internal.factory.ManagerFactoryProducer.convertStructToEventData(event)) (line 106)
proxyCallback = @(src, event)callback(src, ...
As far as I can tell it seems to be related to my grids. That, at least, is the pop up message I get, when opening the app in App Designer.
The app usually looks something like this:
But after running it and re-opening it in App Designer it looks like this (please take note of the modified component browser (almost all components are missing)):
I'm not sure how to debug this or why it's happening. It didn't use to behave like this, it just startet occuring - I'm not sure exactly when. I haven't updated MATLAB and it was initially designed and is still running on version R2021a.
  댓글 수: 3
Adam Danz
Adam Danz 2022년 3월 15일
Please report this to tech support as a bug.
Khaleel
Khaleel 2022년 8월 31일
Nikola: Bugs like this happen in all langagues, not just MATLAB

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

답변 (0개)

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by