답변 (4개)

Walter Roberson
Walter Roberson 2019년 12월 12일

0 개 추천

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
Sergiy Kuzmych 2019년 12월 16일
편집: Sergiy Kuzmych 2019년 12월 16일

0 개 추천

I dont actually undesrand you. My purpose is to get the output of these two tranfer function and work with this output. For example get characteristics

댓글 수: 1

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
Sergiy Kuzmych 2019년 12월 16일

0 개 추천

Actually i wanted to take characteristics of tranfer function but i dont know how. I knew about ltiview and i was trying to use this function and i wanted to get the output from my transfer functions but then i discovered linear analysis tool that helped me a lot. The subject is Control engineering from kpi fict auts
Characteristics.png
Sergiy Kuzmych
Sergiy Kuzmych 2019년 12월 16일
편집: Sergiy Kuzmych 2019년 12월 16일

0 개 추천

The answer is to mark lines in simulink like in this video
and than use
stepinfo(tout)
and get characteristics
>> stepinfo(out.tout)
ans =
struct with fields:
RiseTime: 80
SettlingTime: 100
SettlingMin: 9
SettlingMax: 10
Overshoot: 0
Undershoot: 0
Peak: 10
PeakTime: 102
but they are different from previous picute. Why?

댓글 수: 3

Walter Roberson
Walter Roberson 2019년 12월 17일
Are you still getting the error message about Simulink model stepinfo being called with the incorrect number of arguments?
Sergiy Kuzmych
Sergiy Kuzmych 2019년 12월 17일
No
Walter Roberson
Walter Roberson 2019년 12월 17일
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

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

카테고리

도움말 센터File Exchange에서 Trimming and Linearization에 대해 자세히 알아보기

질문:

2019년 12월 8일

댓글:

2019년 12월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by