Creating, Exporting, and Using Custom Report Templates
If none of the built-in templates provides the level of detail or formatting that you want for your reports, you can create custom report templates where you can adjust all the settings that you can make in the report nodes to your liking. To add a template to the model, right-click Reports () and choose Template. Choose settings and generate the template as described in the next section.
When done, you can export the templates you have added to your model to an MPH-file that you save in a dedicated folder, as specified in the User templates directory field on the Results>Templates page of the Preferences dialog box; by default, this is the reporttemplates folder under your current COMSOL Multiphysics settings directory. Once exported, the templates become available also in future modeling sessions. Established standard templates are best saved in the data/reporttemplates folder under the COMSOL Multiphysics installation root.
If you later need to edit an exported template or add new ones, simply open the MPH-file containing your templates and make the desired adjustments. You can choose to have all your templates in a single MPH-file or place them in different ones as long as they are saved in one of the supported folders (user or installation) as described above. The filename for an exported template will be shown within parentheses after the template’s label in its context-menu and list items. For example, if the MPH-file MyTemplates.mph in your user templates directory contains a template with the label Plots Only, you generate a report using this template by choosing Reports>From Template>Plots Only (MyTemplates).