Can I access the code for my packaged app?
Ältere Kommentare anzeigen
I've created and packaged an app using the App Designer, and I want to share it.
However, I only want others to use my app and not have access to the app code.
Is it possible to package an app without making the code inaccessible?
Is the code inaccessible when using app packing function in the MATLAB?
3 Kommentare
Angelo Yeo
am 14 Nov. 2023
Bearbeitet: Angelo Yeo
am 14 Nov. 2023
Have you tried Application Compiler? Compiled apps are encrypted, so one cannot see its source code.
https://www.mathworks.com/help/compiler/applicationcompiler-app.html
홍제 정
am 14 Nov. 2023
Angelo Yeo
am 14 Nov. 2023
Bearbeitet: Angelo Yeo
am 14 Nov. 2023
Yes, Application Compiler encrypts m-files automatically. Note that the compilation uses AES (Advanced Encryption Standard), which is different from p-code. P-codes obfuscate codes.
Information on encryption is not fully documented, but you can find hints in the doc below.
https://www.mathworks.com/help/compiler/mcc.html
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
