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

14 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by