Is it possible to use a callback function, InitFcn, under the protected model?

Hi, The version of my MATLAB is 2012a. I would like to do some initial setup under the protected model in Simulink. In order to protect my intellectual property, I hope that setup can be protected and others cannot read. The only way I thought is to use a callback function in one of the block under the protected model. However, the InitFcn function failed after the model become the protected model.
Thanks for your helping

카테고리

도움말 센터 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기

질문:

2016년 4월 6일

답변:

2016년 6월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by