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

Categorías

Preguntada:

el 6 de Abr. de 2016

Respondida:

el 7 de Jun. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by