フィルターのクリア

Constant values Simulink from M-File?

3 ビュー (過去 30 日間)
Michael Simonovski
Michael Simonovski 2018 年 5 月 14 日
回答済み: Eeshan Mitra 2018 年 5 月 16 日
Hello,
how i can set a constant value in the constant value block in Simulink from the M-File?

採用された回答

Eeshan Mitra
Eeshan Mitra 2018 年 5 月 16 日
Hi Michael
You can use "set_param" to set the value of a constant block programmatically. You can check out this linked example from the documentation to see the implementation.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!