trasfer function to work space
Ältere Kommentare anzeigen
error incorect number of arguments? how to resolve it?

Antworten (4)
Walter Roberson
am 12 Dez. 2019
You appear to have a simulink model named stepinfo somewhere on your path that is interfering with calling the Control Systems Toolbox stepinfo() functions.
I do not find any simulink model named stepinfo in my R2019a installation. Also, the GSCreatingModelsDT.mlx example does not have any invocation of Simulink, and does not create any variable named simout
You should check
which -all stepinfo
to try to figure out where the stepinfo model is coming from.
Sergiy Kuzmych
am 16 Dez. 2019
Bearbeitet: Sergiy Kuzmych
am 16 Dez. 2019
0 Stimmen
1 Kommentar
Walter Roberson
am 16 Dez. 2019
Execute the command
which -all stepinfo
You will find a stepinfo SIMULINK model listed (otherwise you would not be getting the error message that you are getting). Delete or rename that SIMULINK model.
It is normal for the command to list two .m functions for stepinfo, in
toolbox/shared/controllib/engine/stepinfo.m
toolbox/control/ctrlanalysis/@DynamicSystem/stepinfo.m
but on your system there will be a third entry that names a simulink .mdl or .slx file; that .mdl or .slx is interfering with your code.
Sergiy Kuzmych
am 16 Dez. 2019
0 Stimmen
Sergiy Kuzmych
am 16 Dez. 2019
Bearbeitet: Sergiy Kuzmych
am 16 Dez. 2019
3 Kommentare
Walter Roberson
am 17 Dez. 2019
Are you still getting the error message about Simulink model stepinfo being called with the incorrect number of arguments?
Sergiy Kuzmych
am 17 Dez. 2019
Walter Roberson
am 17 Dez. 2019
The original question appears to be solved then, and it is not at all clear to me what your current question is?
I would suggest opening a new question.
I am not experienced in control system use of Simulink, so I will probably not be able to answer
Kategorien
Mehr zu Trimming and Linearization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
