# Export FMUs in WSM?

**URL:** <https://community.wolfram.com/t/export-fmus-in-wsm/11358>\
**Category:** Questions\
**Tags:** import-and-export, system-modeler\
**Created:** [October 2, 2017, 12:42pm UTC](https://community.wolfram.com/t/export-fmus-in-wsm/11358 "2017-10-02T12:42:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinnilsson](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@martinnilsson](https://community.wolfram.com/u/martinnilsson)\
**Post date:** [October 2, 2017, 12:42pm UTC](https://community.wolfram.com/t/export-fmus-in-wsm/11358/1 "2017-10-02T12:42:11Z")

</div>

Hi,

is there a way to export an FMU using the command line? Or any wother way, but not using the dialog window. I have some graphics problem on my server running CentOS so sometimes when opening dialog boxes the WSM crashes (e.g. documentation center, FMU export).

Thanks,

Martin

---

<div class="post-metadata">

**Author:** ![patrike](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/patrike/32/42538_2.png) [@patrike](https://community.wolfram.com/u/patrike)\
**Post date:** [October 3, 2017, 7:43am UTC](https://community.wolfram.com/t/export-fmus-in-wsm/11358/2 "2017-10-03T07:43:08Z")

</div>

Hi,

If you have Mathematica, you can export FMUs using the Wolfram Language “Export” function: For example,

```
Export["HelloWorld.fmu", "IntroductoryExamples.HelloWorld", "FMU"]

```

The released version of SystemModeler 5.0 should also include a fix for the crash on opening dialog.

Regards, Patrik
