Note that there are some explanatory texts on larger screens.

plurals
  1. PObuild a standalone application from Matlab code
    primarykey
    data
    text
    <p>I have some Matlab code and a GUI for it and I want to make a standalone app to Protect my Source Code. How can I build this standalone? Thank you for any guide.</p> <p>================================================================================</p> <p>I found in help:</p> <blockquote> <p>If you do not want to distribute your proprietary application code in this format, you can use one of these more secure options instead:</p> <p>• Deploy as P-code — Convert some or all of your source code files to a content-obscured form called a P-code file (from its .p file extension), and distribute your application code in this format.</p> <p>• Compile into binary format — Compile your source code files using the MATLAB Compiler to produce a standalone application. Distribute the latter to end users of your application.</p> </blockquote> <p>working with P-codes is straightforward and no problem.</p> <blockquote> <p><strong>Building a Standalone Executable</strong></p> <p>Another way to protect your source code is to build it into a standalone executable and distribute the executable, along with any other necessary files, to external customers. You must have the MATLAB Compiler and a supported C or C++ compiler installed to prepare files for deployment. The end user, however, does not need MATLAB.</p> <p>To build a standalone application for your MATLAB application, develop and debug your application following the usual procedure for MATLAB program files. Then, generate the executable file or files following the instructions in Steps by the Programmer to Deploy to End Users in the MATLAB Compiler documentation. </p> <ol> <li>Create a package that contains the software needed at run time. See What Software Does a Programmer Need? for more details.</li> </ol> <p>To distribute a standalone application created with MATLAB Compiler to a development machine, create a package that includes the following files.</p> <p>MCRInstaller.exe (Windows)</p> <p>MCRInstaller is a self-extracting executable that installs the necessary components to develop your application. This file is included with MATLAB Compiler.</p> <p>application_name.exe (Windows)</p> <p>Application created by MATLAB Compiler. Maci64 must include the bundle directory hierarchy.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload