Block parameter settings from library blocks are not maintained in model

2 visualizaciones (últimos 30 días)
Miriam
Miriam el 18 de Oct. de 2013
Editada: Miriam el 18 de Oct. de 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

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by