How do I protect intellectual property using protected models and passing variables? (2013a)

조회 수: 7 (최근 30일)
I want to make a protected model. I watched this video but the directions are not specific enough and I can't see all of the code so I haven't been able to figure out what I have wrong: http://www.mathworks.com/videos/protecting-intellectual-property-in-subsystems-68860.html
What would be ideal for me is to have a protected model with inputs from the user and outputs to the user, but also have inside variables easily changed by the user (there will be many variables to change so setting them all using Var.Value = x could be tedious. Is there a better way?).
Ideally, a protected model with a mask, but is that possible?
So could someone please help with the code I'm missing, possibly settings I have wrong, if what I aim to do is possible?
Thanks.

답변 (2개)

Sherman
Sherman 2018년 3월 29일
Protected models support tunable parameters so you could use this mechanism.

Andrea De Lorenzi
Andrea De Lorenzi 2018년 6월 14일
Have a look to this answer:
https://it.mathworks.com/matlabcentral/answers/274270-how-do-i-create-a-protected-model-with-hidden-variables-with-a-mask-that-provides-additional-variabl

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by