User`s guide
Desktop Tools and Development Environment
18-17
Publish Functions and Scripts Using Publish Configurations; Includes Replacement of Publishing
Preferences
In the Editor, you can now do the following when publishing M-file code:
• Specify code that you want MATLAB to evaluate before publishing the code, including
input arguments for functions
• Specify publishing settings, such as an output directory and file format, that you can
save and reuse as a group
To create a publish configuration, first open an M-file in the Editor. Then, select File
> Publish Configurations for filename > Edit Publish Configurations for
filename. In the resulting Edit M-File Configurations dialog box, modify the MATLAB
expression, specify Publish settings, and name the publish configuration. For more
information, see Creating a Publish Configuration for a MATLAB File.