how to change the value for parameter in simulink block using m file

8 views (last 30 days)
how to change the value for parameter in simulink block using m file

Accepted Answer

Ritish Sehgal
Ritish Sehgal on 23 Jan 2023
Hi,
You can programmatically change the value of block parameters using the “set_param” function.
Below is the link to the documentation that explains about accessing and changing the Block Parameter values:
Hope it helps!!

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!