Reputation: 257
I would like to know if i can modify/update the name of a Simulink block with the function set_param and if yes which param name i have to put or another function.
Thanks
Upvotes: 1
Views: 2343
Reputation: 13876
Yes, for example:
set_param('mymodel/Gain','Name','My custom name')
See the documentation on set_param
for more details.
Upvotes: 3