MATLAB Answers

Why can I not open task in live script?

3 views (last 30 days)
Matyas Varga
Matyas Varga on 27 Jun 2021
Answered: Matt J on 18 Jul 2021
When I click on a task in the insert tab a blue rectangle comes up with circle going round, and the following error message in the command window:
MathWorks::System::IUserException [Error using cellfun
Non-scalar in Uniform output, at index 1, output 1.
Set 'UniformOutput' to false.
Error in endsWith (line 30)
s = cellfun(@fliplr, s);
Error in matlab.ui.control.internal.controller.ComponentController/getExcludedCallbackPropertyNamesForView (line 520)
propertyNames = props(endsWith(props, 'Fcn'));
Error in matlab.ui.control.internal.controller.ComponentController/getIgnoredPropertyNamesForView (line 545)
obj.getExcludedCallbackPropertyNamesForView();...
Error in matlab.ui.control.internal.controller.ComponentController/getPropertyNamesToProcessAtRuntime (line 106)
ignoredPropertyNames = getIgnoredPropertyNamesForView(obj);
Error in matlab.ui.control.internal.controller.getControllerPropertiesForViewPopulation (line 30)
propertiesToPopulateView = controller.getPropertyNamesToProcessAtRuntime();
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 181)
[propertiesToPopulateView, propertiesToExclude] = matlab.ui.control.internal.controller.getControllerPropertiesForViewPopulation(controller, component);
Error in matlab.ui.container.internal.model.ContainerModel/createController (line 44)
controller = controllerFactory.createController(...
Error in matlab.ui.container.internal.model.CanvasContainerModel/createController (line 13)
controller = createController@matlab.ui.container.internal.model.ContainerModel(obj,...
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 94)
component.createController( parentController, [] );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]
MathWorks::System::IUserException [Error using matlab.ui.internal.componentframework.WebControllerFactory/checkPreconditions (line 45)
Invalid superclass name.
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 92)
checkPreconditions( obj, component, parentController, nargin );
Error in matlab.ui.internal.FigureServices.getUniqueChannelId (line 151)
matlab.graphics.internal.drawnow.startUpdate;
Error in matlab.ui.internal.FigureServices.getDivFigurePacket (line 165)
channel = matlab.ui.internal.FigureServices.getUniqueChannelId(fig);
Error in matlab.ui.internal.FigureServices.getEmbeddedFigurePacket (line 186)
packet = matlab.ui.internal.FigureServices.getDivFigurePacket(fig);
Error in matlab.internal.editor.LiveAppManager.initialize
Error in matlab.internal.editor.LiveAppManager>@(data)LiveAppManager.initialize(editorId,data)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback]

Answers (1)

Matt J
Matt J on 18 Jul 2021
I don't know for sure if this applies to you, but I experienced similar errors due to some modifications to default groot settings in my startup.m file. Removing them or disabling my startup.m file fixed the problem.
In particular, there are a number of proposed code snippets floating around the forum for how to restore the old figure toolbars and turn off the new axes toolbars. People have been inserting these code suggestions into their startup.m files to give them desired default graphics behavior in every Matlab session. Some of these suggestions, however, seem to override default graphics behavior that a number of Matlab apps rely on and create long strings of errors like what you've shown.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by