MATLAB Creating Graphical User Interfaces

(ff) #1

(^5) Describe your app.
a In the App Name field, type an app name.
If you install the app, MATLAB uses the name for the .mlappinstall file and to
label your app in the apps gallery.
b Optionally, specify an app icon.
Click the icon to the left of the App Name field to select an icon for your app or
to specify a custom icon. MATLAB automatically scales the icon for use in the
Install dialog box, App gallery, and quick access toolbar.
c Optionally, select a previously saved screenshot to represent your app.
d Optionally, specify author information.
e In the Description field, describe your app so others can decide if they want to
install it.
f Identify the products on which your app depends.
Click the plus button on the right side of the Products field, select the products
on which your app depends, and then click Apply Changes. Keep in mind that
your users must have all of the dependent products installed on their systems.
After you create the package, when you select a .mlappinstall file in the Current
Folder browser, MATLAB displays the information you provided (except your email
address and company name) in the Current Folder browser Details panel. If you
share your app in the MATLAB Central File Exchange, the same information also
displays there. The screenshot you select, if any, represents your app in File
Exchange.
(^6) Click Package.
As part of the app packaging process, MATLAB creates a .prj file that contains
information about your app, such as included files and a description. The .prj file
enables you to update the files in your app without requiring you to respecify
descriptive information about the app.
(^7) In the Build dialog box, note the location of the installation file (.mlappinstall),
and then click Close.
For information on installing the app, see “Install Add-Ons Manually”.
20 Packaging GUIs as Apps

Free download pdf