Matlab source code accessible after running from matlab executable

4 ビュー (過去 30 日間)
Aayush Singla
Aayush Singla 2019 年 10 月 6 日
編集済み: Akshit Agarwal 2019 年 10 月 9 日
According to, we can protect our source code if we use matlab Application compiler.
I have deployed an application using the matlab application compiler and when I try to run to install and run the executable on a different PC, I can access and read through the original code.
The executable is exploded in the Temp directory e.g. path C:\Users\<USERNAME>\AppData\Local\Temp\<USERNAME>\mcrCache9.5
Following this, the code is not protected and users can easily reverse engineer the code of the application.
Is there any way to stop this?


Akshit Agarwal
Akshit Agarwal 2019 年 10 月 9 日
編集済み: Akshit Agarwal 2019 年 10 月 9 日
Hi Aayush,
Matlab Application Compiler encrypts all the matlab files but any non matlab files that your code requires and you might have added while creating your executable will not be encrypted by matlab.
You can refer to this thread where a similar query has been discussed: How can I protect files other than .m file with Matlab compiler?

その他の回答 (0 件)


Find more on Introduction to Installation and Licensing 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!

Translated by