Problem importing axis on app designer

조회 수: 1 (최근 30일)
schak
schak 2019년 11월 26일
답변: Bhargavi Maganuru 2019년 12월 23일
Im trying to drag an axis onto a blank app on app designer. I keep getting this error. Doesnt happen with other UIcontrol objects. Im using Windows 7 with Matlab 2019b
Undefined function 'isvalid' for input arguments of type 'double'.
Error in matlab.graphics.interaction.graphicscontrol.ControlManager/removeControl
Error in matlab.graphics.shape.internal.ScribeStackManager/createLayer
Error in matlab.graphics.shape.internal.ScribeStackManager/getLayer
Error in matlab.graphics.internal.CanvasSetup.createScribeLayers
Error in matlab.ui.control.UIAxes
Error in appdesigner.internal.componentmodel.DesignTimeComponentFactory/createComponent (line 79)
component = feval(componentType,...
Error in appdesigner.internal.componentmodel.DesignTimeComponentFactory/createModel (line 17)
component = DesignTimeComponentFactory.createComponent(componentType, parentModel, peerNode);
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController/processClientCreatedPeerNode (line 193)
child = obj.Factory.createModel(obj.getModel(),peerNode);
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController/handlePeerNodeAdded (line 270)
obj.processClientCreatedPeerNode(peerNode);
Error in
appdesservices.internal.interfaces.controller.DesignTimeParentingController>@(varargin)obj.handlePeerNodeAdded(varargin{:})
(line 137)
obj.ChildAddedListener = addlistener(obj.ProxyView.PeerNode,'childAdded', @obj.handlePeerNodeAdded);
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in javaaddlistener>cbBridge (line 52)
hgfeval(response, java(o), e.JavaEvent)
Error in javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
@(o,e) cbBridge(o,e,response));
K>>

채택된 답변

Bhargavi Maganuru
Bhargavi Maganuru 2019년 12월 23일
This is a known issue. There is a workaround for this error in the following link https://www.mathworks.com/support/bugreports/2049278

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