Main Content

matlab.apputil.create

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

Description

example

matlab.apputil.createopens the Package App dialog box that steps you through the process of creating an.mlappinstallfile.

example

matlab.apputil.create(prjfile)loads the specified.prjfile 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

Minimally, add a main file, specify an app name, and indicate the required products. MATLAB®不断创建和保存.prjfile, regardless of whether you clickPackage. However, MATLAB does not create a.mlappinstallfile if you do not clickPackage.

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.prjfile:

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

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

Input Arguments

collapse all

Full or partial path to the.prjfile 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