'Too many output arguments' when starting a new simulink script
조회 수: 7 (최근 30일)
이전 댓글 표시
ABD EL-HADI BASSIL YAGHI
2022년 2월 23일
답변: Benjamin Thompson
2022년 3월 2일
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
채택된 답변
Benjamin Thompson
2022년 3월 2일
If you have a file called untitled.m or untitled.slx or untitled.mdl on your system, remove it.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!