Simulink function block loses its code interface configuration information

조회 수: 1 (최근 30일)
Xiaojie Qiu
Xiaojie Qiu 2018년 3월 29일
댓글: Xiaojie Qiu 2018년 4월 3일
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!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by