Constant values Simulink from M-File?
2 views (last 30 days)
Show older comments
Michael Simonovski
on 14 May 2018
Answered: Eeshan Mitra
on 16 May 2018
Hello,
how i can set a constant value in the constant value block in Simulink from the M-File?
0 Comments
Accepted Answer
Eeshan Mitra
on 16 May 2018
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!