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

 Accepted Answer

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 Modeling in Help Center and File Exchange

Asked:

on 23 Jan 2023

Answered:

on 23 Jan 2023

Community Treasure Hunt

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

Start Hunting!