How do I give two inputs to the transfer function block in Simulink?

23 ビュー (過去 30 日間)
Aishwarya Bangalore Kumar
Aishwarya Bangalore Kumar 2018 年 2 月 12 日
コメント済み: Birdman 2018 年 2 月 13 日
In my simulation, I am trying to generate an output with two control inputs for the transfer function block. But the block allows only 1 input. Is there a way I can provide 2 inputs to it without having to give it separately?

回答 (1 件)

Birdman
Birdman 2018 年 2 月 12 日
By using Mux and discretizing the continuous transfer function from Analysis->Control Design->Model Discretizer in Simulink menu, you can do it. See the attached model for the usage.
  3 件のコメント
Aishwarya Bangalore Kumar
Aishwarya Bangalore Kumar 2018 年 2 月 12 日
Could you please explain it clearly ??
Birdman
Birdman 2018 年 2 月 13 日
If you have opened up the model, you will see that Mux is an element that helps to create a nx1 vector from the inputs it has. In this case, since it has 2 inputs, the output of Mux is a 2x1 vector. Then, that signal goes into DISCRETIZED TRANSFER FUNCTION, NOT CONTINUOUS, and calculates the output for two different step input. This is the case.

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

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by