Simulink function block loses its code interface configuration information

1 vue (au cours des 30 derniers jours)
Xiaojie Qiu
Xiaojie Qiu le 29 Mar 2018
Commenté : Xiaojie Qiu le 3 Avr 2018
Hi everyone,
I'm trying to add my simulink function block into my custom library. The function interface of the block has already been configured to a desired format.
However, after I put this simulink function block from the user library into the simulink model editor, the block doesn't contain its code interface configuration information any more. All configurations come back to the default settings, so that I have to configure it manually every time. In addition, I have to firstly disable its library link, before configurating it.
So I would like to know:
1) Whether there is a way to keep the configuration information of the simulink function block remained in the custom libray OR
2) Whether there is a way to programmatically configurate code interface for a simulink function block?
Thanks a lot!

Réponses (0)

Catégories

En savoir plus sur Simulink Functions 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