How to obfuscate the code in a matlab app before packaging it?

I want to package and distribute a matlab app to my users but I don't want them to have the ability to see my code. I can't package an app if I convert the code to pcode so I need to find a workaround for this. How do I do that? Thanks a lot

답변 (2개)

Vandana Rajan
Vandana Rajan 2017년 6월 15일

1 개 추천

Hi,
As a workaround you can create a single MATLAB function as a .M-file that starts a p-coded MATLAB function. You can p-code all MATLAB functions that are dependencies and then package the App.
David Leffingwell
David Leffingwell 2023년 6월 12일

0 개 추천

There are several different ways to provide IP Protection of a MATLAB App. For example, see MATLAB Web App Server.
See also Security Considerations to Protect Your Source Code for a general discussion of the IP Protection topic.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2017년 6월 12일

답변:

2023년 6월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by