Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Troubles with modeling step response in Simulink

Asked by Katarina on 12 May 2013

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

0 Comments

Katarina

Products

No products are associated with this question.

1 Answer

Answer by Iman Ansari on 13 May 2013
Accepted answer

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

1 Comment

Katarina on 13 May 2013

Thank you. Fresh set of eyes are always appreciated.

Iman Ansari

Contact us