Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the Model Browser, select the Block to export and do one of the following:
    • Click File > Export To > Modelica.


    • Right-click the selected Block and then click Tools > Export to Modelica.
  2. Right-click the empty space on the Internal Block Diagram pane and click Tools Export to Modelica. 

    Note

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

    Image Removed


  3. In the Modelica Export Options dialog:
    • specify the export options (select whether the unnanoted SysML properties should be exported as variables, parameters, or not exported at all)
    • choose whether to generate diagram layout annotations 
    • specify the output of the Modelica file.
  4. Click OK. The Modelica (.mo) file is generated.

...