MATLAB: Errors in app designer after installing 2019b

app designerMATLAB

Hello,
I have installed 2019b a few days ago (from 2018a), and now I have trouble working with the app designer.
For example, if open a new blank app, and simply drag and drop an axes component on the canves, I immediatly get the following error messege (in the command line):
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));

Best Answer

Hi Tom,
We apologize for the inconvenience. This is a known issue, and you can find the cause, and workaround from the follwing link:
iJab