Variable not recognized from workspace parameter

I have loaded parameters from workspace, but it wont use the "Bm" variable, and makes an extra input for it on my function block which is not what I want, since I have already defined the parameter in the workspace. I don't get any errors when I run the simulation.
Picture of function block with extra input Bm that i dont want^.
Picture of function^.
Parameters from workspace^.

 採用された回答

Fangjun Jiang
Fangjun Jiang 2022 年 10 月 13 日
編集済み: Fangjun Jiang 2022 年 10 月 13 日

1 投票

In the MATLAB Function block editor, click "Edit Data", specify "Bm" as a "parameter"

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInteractive Model Editing についてさらに検索

質問済み:

2022 年 10 月 13 日

編集済み:

2022 年 10 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by