To package and share project files, you can export all project files to an archive file. For example, you can share an archived project with people who do not have access to the connected source control tool.
With a project loaded, on the Project tab, select Share > Archive.
(Optional) To export only the specified files, choose an Export profile.
If you have referenced projects and want to export the referenced project files, then select the Include referenced projects check box.
Click Save As.
Use the file browser to specify a file path in the File name field. By default, the file
is created in the current working folder. You can choose the file type project archive (
.mlproj) or zip file.
If you want to share a subset of your project files, create an export profile. An export profile allows you to exclude or only include files with particular labels. For more information about creating labels and adding them to project files, see Create Labels.
Specify an export profile. On the Project tab, select Share > Manage Export Profiles.
Click + and specify a name for the export profile.
In the Files pane, choose if you want to exclude or include files based on their labels from the final project archive.
If the files you need to share are only a small subset of a large project, choose the include option.
In the Files pane, click + and select the labels for the files you want to exclude or include, and then click OK.
You can also exclude user-defined labels from the exported project. In the Labels pane, click + and select the custom labels you do not want to export, and then click OK.
Click Apply and close the Manage Export Profiles dialog box.
When you share the project to an archive, in the Export profile list, select the name of your export profile to export only the specified files.
Export profiles do not apply changes to referenced projects. When you share your project, MATLAB® exports the entire referenced projects.
Before sharing projects with other users, it can be useful to examine the required add-ons for your project. See Find Required Products and Add-Ons.
- Create a New Project from an Archived Project
- Share Subset of Project Files Using Labels
- Share Project by Email