How to set blocks' variables and parameters on a script and make them run in Simulink?

For example, I'm using the Simscape library; I have a thermal mass and I want its properties "mass" and "specific heat" to be called "m" and "sh", and set this values into a script. How can I do this?

Respuestas (1)

Define m and sh in workspace with defined values. Use m in mass field and sh in specific heat field.

Categorías

Más información sobre General Applications en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 28 de Oct. de 2018

Respondida:

el 10 de Nov. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by