How can I protect a Simscape model?
Show older comments
I have a simple Simscape model which has connection ports exposed out of it. I tried two ways to protect the Simscape model:
First, I tried to generate an S-function from it. I got the following error:
The selected system expresses connection ports. Subsystem based code generation is not supported for portions of physical models. In order to generate code, the physical model must exist entirely within a subsystem.
Two, if I instead try to generate a protected model, I get a model reference with missing connection ports.
How can I protect my Simscape model?
Accepted Answer
More Answers (0)
Categories
Find more on Foundation and Custom Domains in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!