The following options are selected from different menus and toolbars as described in The COMSOL Desktop Menus and Toolbars.
•
• Select File>Save.If the model has been saved before and you want to create a copy you can choose to save in one of the COMSOL file formats (see COMSOL MPH-Files, Model Files for Java, and Model Files for MATLAB).Select File>Save As. The Save As window opens, and from the Save as type list select COMSOL Application (*.mph) (the default), Model file for Java (*.java), Model file for MATLAB (*.m), or COMSOL File for VBA (*.vba).In all cases, navigate to the location where you want to save the model, enter a File name, and then click Save.
You can add the author to the header of model files for Java and for MATLAB that are saved. Open The Preferences Dialog Box and under General>History export, select the Include author check box.To open the last saved version of the file and reinitialize the GUI, select File>Revert to Saved (). For Windows users, you can also customize the Quick Access Toolbar and then click the Revert to Saved button.
The COMSOL Multiphysics files for Java and for MATLAB contain the entire history of the model, including settings that are no longer part of it. To compact the history so that the files only include the settings that are part of the current model, select File>Compact History. For Windows users, you can also customize the Quick Access Toolbar and then click the Compact History () button.
You can choose to save COMSOL Multiphysics files (MPH-files) that are optimized for speed (the default, using uncompressed files that are faster to save) or optimized for file size (using compressed files). In the Preferences dialog box (see Preferences Settings), click Files and choose Speed or File size from the Optimize for list under Saving COMSOL application files.