Problem importing axis on app designer

1 次查看(过去 30 天)
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