Could MatLAB model be exported to FMU without Simulink?

2 次查看(过去 30 天)
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?

回答(1 个)

surya venu
surya venu 2024-5-20
Hi,
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.
Hope it helps.

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by