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

1 view (last 30 days)
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?

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!