What is "Input" in "model" command?

3 ビュー (過去 30 日間)
Jianfei
Jianfei 2020 年 7 月 20 日
回答済み: rubindan 2020 年 7 月 20 日
In the model command, in you want to get the output of a model, the code is:
outputs = model(t,x,u,'outputs');
In which "u" means "Inputs, specified as real double in vector format." What is this? Is there any examples of how to use this command? Thank you!

回答 (1 件)

rubindan
rubindan 2020 年 7 月 20 日
If your Simulink model have input ports (In1 In2,...), you can set them using the "u" argument.

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by