I have the nonlinear state space already constructed in MuPAD as shown:
u is the input and y is the output.
What is the best way for me to take this to Simulink?
control theoryMATLABsimulink
I have the nonlinear state space already constructed in MuPAD as shown:
u is the input and y is the output.
What is the best way for me to take this to Simulink?
Best Answer
I would not use Simulink for simulating the system. But just use plain matlab code and the ODE solver...
Read about it: http://nl.mathworks.com/help/matlab/math/ordinary-differential-equations.html
It would look something like...
And then in your ODE function
system
you define your (non)linear system.