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

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Vidya Viswanathan
Vidya Viswanathan il 24 Dic 2015
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 Commento
RobinZ
RobinZ il 11 Gen 2016
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!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by