Could MatLAB model be exported to FMU without Simulink?

Is it possible to export an MatLab-Model to FMU for use in an Co-Simulation without SimuLink?
Or is the FMU-Interface a part of SimuLink?
Motivation: We have a set of current equations we want to solve in a co-simulation and want to use FMI/FMU for connecting MatLab with CCM+. We do not want to create an SimuLink-Model but want to use these equation. Is this way to connect the Software-packages possible?

Respuestas (1)

AKennedy
AKennedy el 30 de En. de 2025
Exporting a MATLAB model directly to FMU for co-simulation without using Simulink is not straightforward, as the FMU export functionality is primarily provided through Simulink with the use of the Simulink Coder. The FMI standard, which defines the FMU, is designed for model exchange and co-simulation of dynamic models across various software environments, but MATLAB itself does not natively support exporting to FMU without the Simulink environment.

Categorías

Más información sobre Modeling en Centro de ayuda y File Exchange.

Productos

Versión

R2021b

Preguntada:

el 11 de Feb. de 2022

Respondida:

el 30 de En. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by