Can I see the text of a compiled *.m file?
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello,
I've discovered that if I have a compiled app (via Matlab deploytool), I can see all it's *.m files in
AppData / Local / Temp / user-name / mcrCache9.3 /
Q1: with respect to secuity/privacy, it's a bit strange that if I send my Compiled GUI to a customer, theoretically he can see, at least the names of all my source *.m file, isn't it?
Q2: I can see the *.m files, but they actually are binary. Is there anyway I can "convert" them back to text?
THANKS!
댓글 수: 0
채택된 답변
Walter Roberson
2021년 12월 20일
https://www.mathworks.com/help/compiler/release-notes.html
Q1: As of R2021b, you can use the mcc option -s to hide the file names from users.
Q2: Yes, it is known that some people know how to decrypt the archives and then convert the data structures back to text. However this is not supported by Mathworks, and I have heard that Mathworks will not do this as a service.
댓글 수: 5
Walter Roberson
2021년 12월 23일
They have not logged on here for 6 months, and I do not have any email address for them.
추가 답변 (1개)
Yongjian Feng
2021년 12월 20일
The folder you mentioned in general is used for caching data locally. Most likely during compilation. This might not happen in the user's machine. Did you try to install your app in another machine and check that folder?
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!