How can i specify input(u) in the model function if i have one input as a bus object in the Simulink block?

1 回表示 (過去 30 日間)
Hi, I have a simulink model with inputs with data type double. To be able to simulate this model programmatically i can write one line as: outputs = model(t,x,u,'outputs'); It says in the documentation that "Inputs, specified as real double in vector format.". However i want to use the input in Simulink model as a bus object. Is there any way for me to be able to specify the inputs so as my code to be compatible with this input?

回答 (0 件)

カテゴリ

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