Constant values Simulink from M-File?

3 次查看(过去 30 天)
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!