MATLAB Creating Graphical User Interfaces

(ff) #1
You can share your app directly with other users, or share it with the MATLAB user
community by uploading it to the MATLAB File Exchange. When others install your
app, they do not need to be concerned with the MATLAB search path or other
installation details.

Watch this video for an introduction to creating apps:

Packaging and Installing MATLAB Apps (2 min, 58 sec)


  • Add-Ons


Apps (and other files) uploaded to the MATLAB File Exchange are available from
within MATLAB:

(^1) On the Home tab, in the Environment section, click the Add-Ons arrow button.
(^2) Click Get Add-Ons.
(^3) Search for apps by name or descriptive text.
Why Create an App?
When you create an app package, MATLAB creates a single app installation file
(.mlappinstall) that enables you and others to install your app easily.
In particular, when you package an app, the app packaging tool:



  • Performs a dependency analysis that helps you find and add the files your app
    requires.

  • Reminds you to add shared resources and helper files.

  • Stores information you provide about your app with the app package. This information
    includes a description, a list of additional MATLAB products required by your app, and
    a list of supported platforms.

  • Automates app updates (versioning).


In addition, when others install your app:



  • It is a one-click installation.

  • Users do not need to manage the MATLAB search path or other installation details.

  • Your app appears alongside MATLAB toolbox apps in the apps gallery.


Apps Overview
Free download pdf