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?

回答 (1 件)

Arunkumar M
Arunkumar M 2018 年 11 月 10 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeGeneral Applications についてさらに検索

製品

質問済み:

2018 年 10 月 28 日

回答済み:

2018 年 11 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by