'Too many output arguments' when starting a new simulink script
2 views (last 30 days)
Show older comments
ABD EL-HADI BASSIL YAGHI
on 23 Feb 2022
Answered: Benjamin Thompson
on 2 Mar 2022
Whenever I create a blank simulink file or just open one from my assignments I get this text in the command window:
Warning: Too many output arguments.
> In slCustomizer/refresh
In slCustomizer/callRefresh
In slCustomizer>@()slCustomizer.callRefresh()
In slCustomizer.staticRefresh
In simulinkrc (line 51)
In Simulink.start_simulink
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
ans =
'Error using slCustomizer.staticRefresh
An error occurred during Simulink customization.'
Error using load
Too many output arguments.
Error in prefutils (line 10)
[varargout{1:nargout}] = feval(varargin{:});
Error in getpref (line 62)
Preferences = prefutils('loadPrefs');
Error in vrgetpref (line 377)
edpref = getpref('VirtualReality', 'Editor', defaults.Editor);
Error in slblocks (line 7)
if strcmp(vrgetpref('Foundation3DPreview'), 'on') && ~isempty(which('sl3dlib'))
Warning: Too many output arguments.
Warning: The model name 'untitled' is shadowing another name in the MATLAB workspace or path. Type "which -all
untitled" at the command line to find the other uses of this name. You should change the name of the model to
avoid problems.
> In sltemplate.internal.request.createSimulinkModel
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Any clue as to why this is?
Thanks in advance
0 Comments
Accepted Answer
Benjamin Thompson
on 2 Mar 2022
If you have a file called untitled.m or untitled.slx or untitled.mdl on your system, remove it.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!