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

1 visualización (últimos 30 días)
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?

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by