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

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.

Answers (2)

Protected models support tunable parameters so you could use this mechanism.
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

Asked:

on 22 Oct 2013

Answered:

on 14 Jun 2018

Community Treasure Hunt

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

Start Hunting!