Archive Projects in Zip Files

To package and share project files, you can export all project files to a zip file. For example, you can share a zipped project with people who do not have access to the connected source control tool.

  1. With a project loaded, on the Simulink Project tab, select Share > Zip Archive.

  2. Use the file browser to specify a file path in the Zip file field. By default, the file is created in the current working folder.

  3. If you have referenced projects and want to export the referenced project files, then select the Copy referenced projects into archive check box.

  4. Click Archive.

If you want to exclude files from the archive, create an export profile to exclude files with particular labels.

  1. Create labels and add them to the project files you want to exclude. See Create Labels.

  2. Specify an export profile. On the Simulink Project tab, select Share > Manage Export Profiles.

    1. Click + and specify a name for the export profile.

    2. In the Files pane, click + and select the labels for the files you do not want to export, and click OK. You can also choose not to export custom labels.

    3. Click Apply and close the Manage Export Profiles dialog box.

  3. When you share the project to an archive, in the Export list, select the name of your export profile to export only the specified files.

Before sharing projects with other users, it can be useful to examine the required toolboxes for your project. See Find Required Toolboxes.

Related Examples

More About

Was this topic helpful?