I'm still having problems. Even with the callback deleted it still won't work.
Here is a new error log. Any ideas?:
Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information, click here.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Trying to load file "C:\Users\Oxbotica\Documents\MATLAB\shell-microautobox\Implementation\Subsystems\mean.slx" while it is being loaded.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Trying to load file "C:\Users\Oxbotica\Documents\MATLAB\shell-microautobox\Implementation\Subsystems\mean.slx" while it is being loaded.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Trying to load file "C:\Users\Oxbotica\Documents\MATLAB\shell-microautobox\Implementation\Subsystems\mean.slx" while it is being loaded.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Trying to load file "C:\Users\Oxbotica\Documents\MATLAB\shell-microautobox\Implementation\Subsystems\mean.slx" while it is being loaded.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Trying to load file "C:\Users\Oxbotica\Documents\MATLAB\shell-microautobox\Implementation\Subsystems\mean.slx" while it is being loaded.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Trying to load file "C:\Users\Oxbotica\Documents\MATLAB\shell-microautobox\Implementation\Subsystems\mean.slx" while it is being loaded.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Trying to load file "C:\Users\Oxbotica\Documents\MATLAB\shell-microautobox\Implementation\Subsystems\mean.slx" while it is being loaded.
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in uiservices.getContrastColor (line 8) if mean(color) > 128/255
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
> In slmsgviewer In slmsgviewer/PersistentInstance In slmsgviewer.processRecord In uiservices.getContrastColor (line 8) In matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) In matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) In matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) In matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl (line 37) updateDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope/windowMotionCallback (line 8) renderDynamicWidgetsControl(this);
Error in matlabshared.scopes.UnifiedScope>@(varargin)this.windowMotionCallback(varargin{:}) (line 277) this.WindowMotionListener = addlistener(hFig, 'WindowMouseMotion', @this.windowMotionCallback);
Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);
Warning: Error occurred while executing callback: Error using uiservices.getContrastColor (line 8) Simulink model 'mean' was called with incorrect number of arguments
Error in matlabshared.scopes.UnifiedScope/updateDynamicWidgetsControl (line 43) fg = uiservices.getContrastColor(bg);
Error in matlabshared.scopes.UnifiedScope/renderDynamicWidgetsControl>@(varargin)this.updateDynamicWidgetsControl(varargin{:}) (line 34) addlistener(h.visualizationPanel, 'SizeChanged', @this.updateDynamicWidgetsControl);