Troubles with modeling step response in Simulink

Hello!
I am a SIMULINK newbie and I am having troubles with modeling step response of my system using this tool. I would really appreciate if you can look at my code and point me in a right direction!
When I try to model my system that already works just fine in regular MATLAB code in SIMULINK, I am getting really funky responses for some reason and I do not understand why. All the transfer functions and the controllers are the same, and it really is not a very complicated system overall.
I have posted both of my matlab and simulink codes here --> NA.
Thank you for your time + help in advance!
- Kat

 채택된 답변

Iman Ansari
Iman Ansari 2013년 5월 13일

0 개 추천

Delete your Integrator block, you didn't define it in your code.

댓글 수: 1

Katarina
Katarina 2013년 5월 13일
Thank you. Fresh set of eyes are always appreciated.

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

추가 답변 (0개)

카테고리

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

질문:

2013년 5월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by