最終処理スクリプト

最終処理スクリプトは、シミュレーションの最後に実行されるOMLコマンドを定義するための手段を提供します。

最終処理スクリプトを使用すると、結果のプロットや指定した場所へのデータの保存など、シミュレーションの終了時に自動的に実行されるOMLコマンドを定義できます。

最終処理スクリプトは、シミュレーションが終了する(最終時間に達する)か、停止したときに実行されることに注意してください。シミュレーションが一時停止している場合は実行されません。

Define the 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.