Warning: Overriding parameters of 'signalbuilder-block...' inside a user defined library block

1 次查看(过去 30 天)
I created my own library block with a subsystem that contains 'signalbuilder' blocks.
Now when I use that block in a simulink model and set the signals of the signalbuilder via script, I get the warning message that its parameters are being overwritten.
Is there a way to suppress this warning? Setting the library blocks mask parameters to "MaskSelfModifiable" does not seem to help..
Thank you very much in advance!
BR, Robin

采纳的回答

Vidya Viswanathan
Vidya Viswanathan 2015-12-24
It is generally not a recommended practice to place a Signal Builder block inside a custom library. This is due to the presence of several callbacks associated with that block.
  1 个评论
RobinZ
RobinZ 2016-1-11
Ok, thank you for your answer! My idea was to create a subsystem like "simulation control" that contains several signalbuilder blocks with all the setpoint settings for the whole simulation environment. A custom library would have been nice to create several models but thanks for the advice!

请先登录,再进行评论。

更多回答(0 个)

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by