'Too many output arguments' when starting a new simulink script
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ABD EL-HADI BASSIL YAGHI
el 23 de Feb. de 2022
Respondida: Benjamin Thompson
el 2 de Mzo. de 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 comentarios
Respuesta aceptada
Benjamin Thompson
el 2 de Mzo. de 2022
If you have a file called untitled.m or untitled.slx or untitled.mdl on your system, remove it.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!