Saving a Model Snapshot

 To save a snapshot of a model

  1. First, check that your model is serializable, i.e. states of all model elements can be saved, and therefore all the information about the current state of the model can be saved in a model snapshot file. To check this, select the model item (e.g. Model) in the Projects view, and then select Tools > Check for Snapshot Compatibility from the main menu. If there are some unserializable elements in your model, fix this, and then continue.
  1. Snapshots can be saved and restored only when the model execution is paused. Run the model and then pause the execution by clicking the Pause  control.
  2. Now you will need the snapshot management commands. The snapshot commands are located in the developer panel. To open the developer panel click the rightmost Open developer panel control, located in the model window.
  3. By default, the snapshot commands are hidden. To see them, click the show/hide snapshot options control in the topmost line of the developer panel. 
  4. Click the save snapshot  toolbar button. 
  1. The Save model snapshot dialog box will open. 
  2. Specify the name and location of the snapshot file and click the Save button when finished. 
  3. The model state is saved. You can now continue the simulation, stop, close it, or even shut down your computer.

Saving a model snapshot via API

You can also save snapshots programmatically.

Related topics

 Saving and restoring simulation state