I have installed Matlab 2017a version on Mac OS. but right after start simulink, there are warning messages appearing on command window. and also some blocks parameters window could not open. once hit double click on it: appear error message says "not enough input argument".
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In RTW.TargetRegistry.call_all
In RTW.TargetRegistry.getInstance
In slCustomizer/internalCustomizationSimulinkCoderCore>registerTargetInfo
In slCustomizer/internalCustomizationSimulinkCoderCore
In slCustomizer/callAllMethods
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/callAll
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/callAll
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON

댓글 수: 6

What is reported for
which -all line
?
Stephen23
Stephen23 2017년 8월 7일
"Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict."
The warning seems very clear to me. Why don't you simply do what it advises?
Rik
Rik 2020년 5월 25일
Why did you edit away your question? That is extremely rude to everyone putting in the time to help you.
Stephen23
Stephen23 2020년 5월 25일
Original comments by janitha thalagoda retrieved from Google Cache:
when I try to change modeling parameters of the specific blocks of simulink library, it says not enough input argument. if you need to clarify more regarding this, please see the attached screen shot. I also installed java SDK package as well. I may be felt sometimes, that, MATLAB 2017a, in Mac OS sirra, needs more dependency packages, like java SDK, in order to work properly. so here is my request, if you know any other dependencies, let me know about it, so that, I could install them and do my work well, otherwise I am stuck in the middle my work, please your help is more appreciated.
when I entered which -all line on command window of Matlab, following line was appeared:
/Users/janithathalagoda/Documents/MATLAB/line.
built-in (/Applications/MATLAB_R2017a.app/toolbox/matlab/graphics/line) % Shadowed
Original question by janitha thalagoda retrieved from Google Cache:
"not enough input arguments."
I have installed Matlab 2017a version on Mac OS. but right after start simulink, there are warning messages appearing on command window. and also some blocks parameters window could not open. once hit double click on it: appear error message says "not enough input argument".
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In RTW.TargetRegistry.call_all
In RTW.TargetRegistry.getInstance
In slCustomizer/internalCustomizationSimulinkCoderCore>registerTargetInfo
In slCustomizer/internalCustomizationSimulinkCoderCore
In slCustomizer/callAllMethods
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/callAll
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/callAll
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Function line has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.
> In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Rena Berman
Rena Berman 2020년 6월 1일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

 채택된 답변

Jan
Jan 2017년 8월 7일
편집: Jan 2017년 8월 7일

0 개 추천

which -all line on command window of Matlab, following line was appeared:
/Users/janithathalagoda/Documents/MATLAB/line.
built-in (/Applications/MATLAB_R2017a.app/toolbox/matlab/graphics/line) % Shadowed
This means that you have created an M-file called line.m, which shadows the built-in function with the same name. It is expected that Matlab will fail, when it uses the wrong method. The solution is to rename your file. This is suggested in the warn message already.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2017년 8월 5일

댓글:

2020년 6월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by