not enough input arguments.

6 views (last 30 days)
janitha thalagoda
janitha thalagoda on 5 Aug 2017
Commented: Rena Berman on 1 Jun 2020
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 Comments
Stephen23
Stephen23 on 25 May 2020
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 on 1 Jun 2020
(Answers Dev) Restored edit

Sign in to comment.

Accepted Answer

Jan
Jan on 7 Aug 2017
Edited: Jan on 7 Aug 2017
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.

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!