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

15 views (last 30 days)
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

Answers (1)

Nirav Sharda
Nirav Sharda on 13 Jul 2017
The following MATLAB Answers post talks about this issue and how it can be resolved.

Categories

Find more on Modeling 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!