The GUI command methods correspond to the GUI Commands node in the editor tree. The editor tree is displayed in, for example, the
Choose Commands to Run section in the
Settings window for a button object in the Application Builder.
For examples of how to use fileSaveAs, see the Introduction to Application Builder. This method is frequently needed for saving files in general.
This is useful in a COMSOL Server setting since using exit() in this way will free up any licenses that are checked out.