Is a function from Matlab, compiled as a Python package from Matlab Library Compiler, encrypted?
8 views (last 30 days)
Show older comments
Chiqueti
on 8 Oct 2018
Commented: Walter Roberson
on 9 Oct 2018
I made some Matlab scripts for my work and compiled then using Matlab Aplication Compiler (generates .exe) to use in Python scripts using os.system or subprocess.call. But calling these functions are really slow. So i think about using Python package from Matlab Library Compiler with as i saw creates a .ctf file for the functions, but i want to make my code closed for the client and i know that Python is not made for compile or obfuscate code.
My question is if i use this Python Package from Matlab Library Compiler will my code be encrypted for the client?
0 Comments
Accepted Answer
Walter Roberson
on 9 Oct 2018
The MATLAB level will be encrypted. The other languages will not be. Any source code submitted to Python or Java to be executed can be debugged by tools provided by that language.
6 Comments
Walter Roberson
on 9 Oct 2018
MATLAB Compiler and MATLAB Compiler SDK use the same basic technology: the .m and .p that you provide are encoded and encrypted into data structures that are interpreted at runtime.
More Answers (0)
See Also
Categories
Find more on Troubleshooting in MATLAB Compiler SDK 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!