Define a Finalization Script

Enter the OML commands that you want to be automatically executed at the end of a simulation.

  1. From the ribbon, select the Model Initialization and Properties tool:


    The Model dialog opens.
  2. Select the Finalization tab.
  3. In the OML editor, enter the required OML commands.


    Alternatively, if you have an existing OML script that you want to load, select and navigate to the file.