How to export Simulink model to Functional Mockup Unit (FMU) for use in other modeling tools?

13 次查看(过去 30 天)
I need to export part of a Simulink model in a way that I can integrate it into an existing Dymola model. Is it possible to create a FMU from the Simulink model?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2021-6-25
Beginning with R2020a, you can export your Simulink model as a standalone FMU with Simulink Compiler . When a third-party tool runs the FMU, no MATLAB or Simulink license will be required. 
Beginning with R2019a, the ability to export a Simulink model to a tool-coupling FMU is available in Simulink:
Wrap your Simulink model and project files into an FMU that has a co-simulation interface. When a third-party tool runs the FMU, the FMU checks out the required MathWorks® licenses, starts a local MATLAB® session, and runs the model.
In R2018b, a MathWorks®-provided support package: "Tool-Coupling Co-Simulation FMU Export for Simulink support package" is required
While we recommend this to be downloaded through the Add-On Explorer, a link to open it in Add-On Explorer is available on File Exchange:
For R2018a and prior, there are third-party products which may provide this functionality. Please refer to the following links for more information:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Create Standalone FMU 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by