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

1 view (last 30 days)
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

Answers (1)

Sherman
Sherman on 7 Jun 2016

Community Treasure Hunt

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

Start Hunting!