Clear Filters
Clear Filters

Is a function from Matlab, compiled as a Python package from Matlab Library Compiler, encrypted?

3 views (last 30 days)
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?

Accepted Answer

Walter Roberson
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
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.

Sign in to comment.

More Answers (0)

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!