Ways to Share Apps
There are several ways to share your apps.
- “Share MATLAB Files Directly” on page 20-13 — This approach is the simplest way to
share an app, but your users must have MATLAB installed on their systems, as well as
other MathWorks products that your app depends on. They must also be familiar with
executing commands in the MATLAB Command Window and know how to manage the
MATLAB path. - “Package Your App” on page 20-14 — This approach uses the app packaging tool
provided with MATLAB. When your users install a packaged app, the app appears in
the Apps tab in the MATLAB Toolstrip. This approach is useful for sharing apps with
larger audiences, or when your users are less familiar with executing commands in the
MATLAB Command Window or managing the MATLAB path. As in the case of sharing
MATLAB files directly, your users must have MATLAB installed on their systems (as
well as other MathWorks products that your app depends on). - “Create a Deployed Web App” on page 20-15 — This approach lets you create apps
that users within an organization can run in their web browsers. To deploy a web app,
you must have MATLAB Compiler installed on your system. Your users must have a
web browser installed that can access your intranet, but they do not need to have
MATLAB installed. - “Create a Standalone Desktop Application” on page 20-16 — This approach lets you
share desktop apps with users that do not have MATLAB installed on their systems. To
create the standalone application, you must have MATLAB Compiler installed on your
system. To run the application, your users must have MATLAB Runtime installed on
their systems. For more information, see https://www.mathworks.com/products/
compiler/matlab-runtime.html.
Share MATLAB Files Directly
If you created your app in GUIDE, share the .fig file, the .m file, and all other dependent
files with your users.
If you created your app programmatically, share all .m files and other dependent files with
your users.
If you created your app in App Designer, share the .mlapp file and all other dependent
files with your users. To provide a richer file browsing experience for your users, provide
a name, summary, and description by clicking App Details in the Designer tab of the
Ways to Share Apps