Main Content

matlab.apputil.create

Create or modify app project file interactively using the Package App dialog box

Description

example

matlab.apputil.create opens the Package App dialog box that steps you through the process of creating an .mlappinstall file.

example

matlab.apputil.create(prjfile) loads the specified .prj file and populates the Package App dialog box with the information from the specified project file. Use this option if you need to update an existing app.

Examples

collapse all

matlab.apputil.create

Package App dialog box. The dialog box contains options to pick the files associated with your app, describe your app, and then package your app into an installation file.

Minimally, add a main file, specify an app name, and indicate the required products. MATLAB® creates and continuously saves a .prj file, regardless of whether you click Package. However, MATLAB does not create a .mlappinstall file if you do not click Package.

Assume you have an existing project file, myapp.prj. You want to add a file and update the description.

Open the Package App dialog box, specifying the previously created .prj file:

matlab.apputil.create('myapp.prj')

The dialog box opens populated with the data you previously specified for myapp. Adjust the information in the dialog box, as needed.

Input Arguments

collapse all

Full or partial path to the .prj file you created previously with the Package App dialog box, specified as a character vector or string scalar.

Example: 'C:\myapp.prj'

Example: "C:\myapp.prj"

Version History

Introduced in R2012b