Export Tools

Export to OML

OML export lets you create an OML script of the current model.

  1. On the ribbon, select Export > OML.
  2. In the Save File dialog box, save the .OML file in your desired directory. By default, the name is the current model name.

    The OML script contains all commands to build the model.

    You can execute the file in the OML command window or open the OML file in the OML editor and click the Run icon to execute it.

Export to Modelica

Modelica export lets you export Modelica components from the current model.

  1. On the ribbon, select Export > Modelica.
  2. In the Save File dialog box, save the .MO file in your desired directory.

    The exported Modelica model can be used in the MoCustomBlock or in other tools supporting Modelica.