To export to the Modelica file
- 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.
- Click File > Export To > Modelica.
- In the Modelica Export Options dialog:
- specify the export options (select whether the unannoted 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.
- Click OK. The Modelica (.mo) file is generated.