How can I share my protected model without shipping its data dictionaries?

9 views (last 30 days)
I want to export my model as a protected model to secure my IP but still allow somebody to simulate my algorithm in Simulink without shipping its data dictionaries that it relies on, however, this is not currently possible. 
My desired workflow here is not to protect data dictionaries, but to export my protected model in such a way that it no longer needs the original data dictionaries if all necessary data is provided in the MATLAB workspace. Additionally, a workaround involving model callbacks is insufficient for my use case. I also need to continue using data dictionaries for my workflow.
Is there a workaround that would allow someone to simulate my protected model without shipping its data dictionaries?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 11 Nov 2025 at 0:00
As outlined in the Package and Share Protected Models documentation, the use case of protecting a model which depends on data dictionaries and running it without those data dictionaries is not supported as of MATLAB R2025b. Our development team is aware of this limitation and will consider adding it in a future release
However, this workflow can be achieved by exporting your model to a Functional Mock-up Unit (FMU).
This workaround would generate a standalone library FMU file which could be run in Simulink without the original data dictionary files and protect IP through binary generation. When using this workflow, the interface definitions would be the only data that can be seen when sent.

More Answers (0)

Categories

Find more on Manage Design Data in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!