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 日

0 投票

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!