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
回答(1 个)
Sherman
2016-6-7
0 个投票
This is possible starting in R2016a.
类别
在 帮助中心 和 File Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!