How to encrypt ".mlapp" file ?

33 ビュー (過去 30 日間)
Aidin Esmkhani
Aidin Esmkhani 2023 年 4 月 14 日
編集済み: Prasannavenkatesh 2023 年 7 月 8 日
How can I encrypt ".mlapp" app designer file without using MATLAB Compiler ? I want to create an installation file of an application which is created by app designer and encrypt the source file of the application.
  2 件のコメント
pragnan nadimatla
pragnan nadimatla 2023 年 7 月 7 日
As per my understanding you want to encrypt .mlapp app designer file without using MATLAB Compiler.I don’t think you can encrypt source file of a MATLAB app designed in App Designer without MATLAB Compiler because Designer Files are MATLAB Code files which can be easily read and modified by anyone access to file.
If you want to protect source code of your app designer app, you can use MATLAB Compiler to create standalone executable or shared library. This will compile your code into a format that can be run on any machine without requiring MATLAB Installation. This compiled code can also be encrypted to protect the source code.
Jonas
Jonas 2023 年 7 月 7 日
another option may be exporting the mlapp to .m files and converting the m file to .p file

サインインしてコメントする。

回答 (1 件)

Prasannavenkatesh
Prasannavenkatesh 2023 年 7 月 8 日
編集済み: Prasannavenkatesh 2023 年 7 月 8 日
Hi Aidin,
you can use App Designer to export the code as a .m file and then use the pcode function (https://in.mathworks.com/help/matlab/matlab_prog/building-a-content-obscured-format-with-p-code.html) as normal.

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by