What is "Input" in "model" command?

4 visualizaciones (últimos 30 días)
Jianfei
Jianfei el 20 de Jul. de 2020
Respondida: rubindan el 20 de Jul. de 2020
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!

Respuestas (1)

rubindan
rubindan el 20 de Jul. de 2020
If your Simulink model have input ports (In1 In2,...), you can set them using the "u" argument.

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by