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 commentaires

What is reported for
which -all line
?
Stephen23
Stephen23 le 7 Août 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 le 25 Mai 2020
Why did you edit away your question? That is extremely rude to everyone putting in the time to help you.
Stephen23
Stephen23 le 25 Mai 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
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 le 1 Juin 2020
(Answers Dev) Restored edit

Connectez-vous pour commenter.

 Réponse acceptée

Jan
Jan le 7 Août 2017
Modifié(e) : Jan le 7 Août 2017

0 votes

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.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization dans Centre d'aide et File Exchange

Produits

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by