To export to the Modelica file


  1. In the Model Browser, select the Block to export and do one of the following:
  2. Right-click the empty space on the Internal Block Diagram pane and click Tools Export to Modelica. 

    Only parts displayed on IBD diagram are exported to Modelica file. 

  3. In the Modelica Export Options dialog:
  4. Click OK. The Modelica (.mo) file is generated.