Block parameter settings from library blocks are not maintained in model

2 vues (au cours des 30 derniers jours)
Miriam
Miriam le 18 Oct 2013
Modifié(e) : Miriam le 18 Oct 2013
Hello,
I created my own library which contains an inport block from the Simulink Source Library.
I changed a few of the block parameters via Matlab commands and the settings seem to hold up within the library. But when the custom inport block is inserted into a model the parameters are changed back to default values.
Right now my solution is to change the parameters via an initialization function, but that is not very elegant. What am I missing, the library works fine apart from that.
(FYI: I am setting for example the 'Signal Logging' parameter of the inports outport to 'on'. )
In a hopeful way, best regards Miriam

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by