Change the output name of a sum block programmatically , in simulink

Hello
I have a bus creator which is taking, as inputs some sum blocks outputs.
What I want to do is to change the name of the output of the sum block, since I will be copying the model and changing that name according to the copied version.
I tried :
set_param('SumBlockPath','OutputSignalNames','ChosenName'),
  • error : sum block parameter 'outputSignalNames' is read only.*
Thanks in advance
Best regards

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by