Can third party extract code from standalone desktop app developed using app designer matlab?

8 views (last 30 days)
I have developed an app using app designer. If I share that app as a standalone desktop app to a third party or a person, can he extract the code or algorithm from that executable file or setup file.

Accepted Answer

Mohammad Sami
Mohammad Sami on 5 Aug 2020
You have two options.
You can compile your code using the Matlab compiler, which will prevent the users from being able to see your sourcecode.
Another option is to use pcode function to obfuscate your .m files. In the event you are not able to compile your code, this will protect your source code.
More details can be found here.

More Answers (1)

Steven Lord
Steven Lord on 5 Aug 2020
When you use MATLAB Compiler, the code is compiled into an archive that is encrypted using AES. I am not aware of any computationally feasible attacks against AES.
But if someone really wanted to get access to your code, they could use the xkcd wrench attack.

Categories

Find more on Develop Apps Using App Designer 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!