Problem or bug in Simulink's Spectrum Analyzer Block on MAC OS 10.9.5 (Mavericks)

1 view (last 30 days)
Problem or bug description:
1. Print a Spectrum Analyzer plot from a Simulink model to a Matlab figure (File > Print to figure.) 2. Save the generated Matlab figure from step 1 to a file (e.g. test.fig) 3. Try to open the figure (e.g. test.fig) using openfig('test.fig') or hgload('test.fig').
The above will produce a number of warning and errors such as below. When the error and warning sequence stops multiple figure files will be opened, all of the them are "frozen".
Has anyone else experienced this problem and knows of a fix ? Is this a Simulink (R2014b) bug on Mac OS 10.9.5 ?
Thanks.
> In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: During load: An invalid default object has been detected while loading a heterogeneous array of class event.proplistener. An empty array of class event.proplistener will be returned. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: Cannot load an object of class 'proplistener': No matching constructor signature found. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: During load: An invalid default object has been detected while loading a heterogeneous array of class event.proplistener. An empty array of class event.proplistener will be returned. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Error using handle.handle/get Invalid or deleted object.
Error in uiscopes.State/isRunning (line 284) if ~isempty(this.System) && any(strcmpi(get(this.System, 'SimulationMode'), ...
Error in matlabshared.scopes.source.Source/isRunning (line 3) b = this.State.isRunning;
Error in dsp.scopes.SpectrumVisual/isSourceRunning (line 3655) flag = hSource.isRunning hSource.isPaused;
Error in dsp.scopes.SpectrumVisual/updateSamplesPerUpdateMessage (line 1346) visibleFlag = isSourceRunning(this) && hPlotter.SamplesPerUpdateMsgStatus;
Error in dsp.scopes.SpectrumVisual/onResize (line 3285) updateSamplesPerUpdateMessage(this);
Error in dsp.scopes.SpectrumVisual>@(~,~)fcn(this,varargin{:}) (line 357) cb = @(~,~) fcn(this, varargin{:});
Error using load Error while evaluating Panel SizeChangedFcn
Warning: Cannot load an object of class 'listener': No matching constructor signature found. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: During load: An invalid default object has been detected while loading a heterogeneous array of class event.listener. An empty array of class event.listener will be returned. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: Cannot load an object of class 'proplistener': No matching constructor signature found. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: During load: An invalid default object has been detected while loading a heterogeneous array of class event.proplistener. An empty array of class event.proplistener will be returned. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: Cannot load an object of class 'listener': No matching constructor signature found. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47 Warning: During load: An invalid default object has been detected while loading a heterogeneous array of class event.listener. An empty array of class event.listener will be returned. > In FigFile.read at 36 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/+figfile/@FigFile/FigFile.p>FigFile.FigFile at 104 In /Applications/MATLAB_R2014b.app/toolbox/matlab/graphics/private/loadFigure.p>loadFigure at 31 In openfig>localOpenFigure at 67 In openfig at 47

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!