To export to the Modelica file


  1. In the Model Browser, select the Block to export.
  2. Click File > Export To > Modelica.
  3. In the Modelica Export Options dialog:
  4. Click OK. The Modelica (.mo) file is generated.