Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to get data from simulink to matlab and then simulink?

2 次查看(过去 30 天)
Hello, I want to get data from simulink and sent it to matlab for calculation. And again I want to send the data to simulink. How will I do? As an example, I have two equations: 1. zddot = (u/m)-g 2. u = m(kp*e+kv*edot+g). so, to solve the first equation I need the value of u. And u will be calculated by knowing the value of kp, kv, e and edot. Moreover, I want to use PID control. So, how will I solve it? Basically I want to know the value of z.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by