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

2 ビュー (過去 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 Center および File ExchangeSubsystems についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by