Matlab source code accessible after running from matlab executable
조회 수: 2 (최근 30일)
이전 댓글 표시
According to https://de.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html, 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?
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!