Block parameter settings from library blocks are not maintained in model

2 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by