What can I do so that a "matlab function" block can read the variables defined in a .m file

1 Ansicht (letzte 30 Tage)
My question is the following, I have some parameters defined in a .m file, my question is that I have to do so that the "matlab function" block recognizes it for me, it should be noted that I do not want the constant to remain as input to the block, " matlab function "

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 26 Okt. 2021
In the MATLAB Function block editor, click "Edit data", add "Aq11" as a "parameter".

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by