Can I use as Input at Simulink a equation?

7 ビュー (過去 30 日間)
Bob
Bob 2015 年 12 月 24 日
編集済み: Bob 2016 年 3 月 9 日
Hello,
Can I use this equation as input at Simulink? I would appreciate any help.
Simulink block:

採用された回答

Walter Roberson
Walter Roberson 2015 年 12 月 24 日
Use a MATLAB Function Block, or an Interpreted MATLAB Block
  5 件のコメント
Bob
Bob 2016 年 1 月 2 日
Thank you for your answer again.
So I should calculate the equation in Matlab.
Get two variables simin=[t,h].
And use "From Workspace" block at Simulink?
Actually I did that. I got the same results with Matlab. The only "problem" is that I have to manually change the simulation time in Simulink but it's ok.
Thanks for your time.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by