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 comentarios

What is reported for
which -all line
?
Stephen23
Stephen23 el 7 de Ag. de 2017
"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 el 25 de Mayo de 2020
Why did you edit away your question? That is extremely rude to everyone putting in the time to help you.
Stephen23
Stephen23 el 25 de Mayo de 2020
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
Stephen23
Stephen23 el 25 de Mayo de 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 el 1 de Jun. de 2020
(Answers Dev) Restored edit

Iniciar sesión para comentar.

 Respuesta aceptada

Jan
Jan el 7 de Ag. de 2017
Editada: Jan el 7 de Ag. de 2017

0 votos

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.

Más respuestas (0)

Categorías

Más información sobre Simulink Environment Customization en Centro de ayuda y File Exchange.

Productos

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 5 de Ag. de 2017

Comentada:

el 1 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by