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

조회 수: 1 (최근 30일)
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 "

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 10월 26일
In the MATLAB Function block editor, click "Edit data", add "Aq11" as a "parameter".

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by