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

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

 Réponse acceptée

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 commentaire

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!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by