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

1 view (last 30 days)
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 "

Answers (1)

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

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!