How to protect intellectual property (IP) with an FMU exported from Simulink?

19 views (last 30 days)
There are two different kinds of functional mockup unit (FMU) that can be exported from Simulink:
  1. Standalone FMU: Export Simulink Model to Standalone FMU with Simulink Compiler
  2. Tool-Coupling FMU: Export a Model as a Tool-Coupling FMU with Simulink
Which kind of FMU should I choose if my goal is IP protection?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Oct 2025 at 0:00
Edited: MathWorks Support Team on 18 Oct 2025 at 13:43
The FMI standard does not specify anything related to IP protection; however, "Standalone" FMU exports provide some degree of IP protection.
Standalone FMU:
Since Simulink Compiler uses the Simulink Coder infrastructure, FMU Export obtains some level of IP protection:
  • Compiled binaries: the original Simulink model/source code is compiled into binary form (the user cannot recover the original Simulink model)
  • Obfuscated symbols: C function and global variable names are obfuscated after code generation (the user cannot recover meaningful source code function/symbol names)
What FMU export does not provide:
  • Obfuscated constants (the user cannot recover meaningful string literals and numerical constants)
  • Additional encryption of the dynamic library file (the user cannot recover the original memory layout)
  • Password protection for the FMU zip package (the user cannot decrypt the FMU without a password)
Tool-Coupling FMU:
There is no level of IP protection.
Other approaches to protect the IP of your Simulink model that do not involve FMUs are mentioned in the following MATLAB Answers post:

More Answers (0)

Categories

Find more on Simulink PLC Coder in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!