Hello, I'm trying make a model in simulink of an inverted pendulum and I can't simulate the space state. It's still telling me about that the integrator does not accept the input. Does anyone know what do to in this situation?
The formula that I'm trying to simulate:
Simulation:
The error:
Matlab code:
b_altha_kmke_Ra = 1.202*10^-4;
(Mp*dM*g)/J -(b_theta)/J 0 1/J*b_altha_kmke_Ra;
-(Mp*g*dM)/J b_theta/J 0 -(J+Jw)/(J*Jw)*b_altha_kmke_Ra];
(J+Jw)/(J*Jw)*km_Ra -1/J]