Documentation Center

  • Trial Software
  • Product Updates

matlab.apputil.create

Create or modify app project file for packaging app into .mlappinstall file using interactive dialog box

Syntax

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

expand all

Open Dialog Box for Creating an App Package

matlab.apputil.create

Minimally, add a main file and specify an app name. 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.

Update Existing App 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

expand all

prjfile — Full or partial path to the .prj file string

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

Example: 'C:\myapp.prj'

See Also

Was this topic helpful?