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

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?

 採用された回答

Walter Roberson
Walter Roberson 2018 年 10 月 9 日
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 件のコメント

Chiqueti
Chiqueti 2018 年 10 月 9 日
Soooooo yes?
Walter Roberson
Walter Roberson 2018 年 10 月 9 日
Which side is the client here?
The code that happens at the MATLAB level is encrypted. Any external calls it makes are not encrypted.
Chiqueti
Chiqueti 2018 年 10 月 9 日
編集済み: Chiqueti 2018 年 10 月 9 日
ah ok. the interface code i give to the clients, the people that will use it, is in python. I told my boss that python is open for them too see and he said "it is ok that the interface code is open, but the intelectual property functions called by this interface, with is coded in matlab, must be protected and closed". The clients is the people that will use the code, both the interface the intelectual property.
Walter Roberson
Walter Roberson 2018 年 10 月 9 日
I suspect you need to use MATLAB Compiler SDK for this task, rather than MATLAB Compiler.
Chiqueti
Chiqueti 2018 年 10 月 9 日
編集済み: Chiqueti 2018 年 10 月 9 日
That is the question. If i use it, will my code be encrypted?
Walter Roberson
Walter Roberson 2018 年 10 月 9 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePython Package Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by