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 Exchange에서 Interactive 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