MATLAB Answers

Export model as FMU for Cosimulation stand-alone

38 views (last 30 days)
Kevin Kühl
Kevin Kühl on 22 Mar 2019
Commented: Christian Bertsch on 10 Dec 2020
Hello,
i need to export a Simulink model as FMU for Cosimulation stand-alone (not FMU for CoSimulation).
Is there a way to do this in MatLab 2018b?
The Tool-Coupling Co-Simulation FMU Export for Simulink seems just to support FMU for CoSimulation.
Thanks in advance
Kevin

Answers (2)

Guy Rouleau
Guy Rouleau on 10 Dec 2020
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.
  1 Comment
Christian Bertsch
Christian Bertsch on 10 Dec 2020
This is great progress. It works for Simulink models with fixed-step solver, not with variable step solvers.

Sign in to comment.


Christian Bertsch
Christian Bertsch on 15 Jun 2019
The Tool coupling Co-Simulation is a so called "tool wrapper FMU" with an external dependency to a ML/SL installation or runtime.
For Simulink Models you can create stand-alone FMUs with https://github.com/CATIA-Systems/FMIKit-Simulink using the Simulink coder.
This works for ME FMUs or CS FMUs in case your Simulink model uses a fixed step solver.

Community Treasure Hunt

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

Start Hunting!