Skip to content

CATIA-Systems/FMIKit-Simulink

Repository files navigation

⚠️ NOTE

Import and export of FMUs is now natively supported by MATLAB/Simulink.
Therefore, this project will no longer be continued.

FMI Kit banner

FMI Kit for Simulink

Build Status

A Simulink library to import and export Functional Mock-up Units that supports...

  • FMI 1.0, 2.0, and 3.0
  • Model Exchange and Co-Simulation
  • MATLAB R2016a - R2023a

Quick start

To get started with FMI Kit run the following commands in the MATLAB Command Window

% download and extract the distribution archive to the current folder
unzip(['https://github.com/CATIA-Systems/FMIKit-Simulink/releases/' ...
  'download/v3.1/FMIKit-Simulink-3.1.zip'], 'FMIKit-Simulink-3.1')

% add the folder to the MATLAB path
addpath(fullfile(pwd, 'FMIKit-Simulink-3.1'))

% initialize FMI Kit
FMIKit.initialize()

% open the Bouncing Ball demo
fmikit_demo_BouncingBall

% open the documentation
web('FMIKit-Simulink-3.1/html/index.html')

See the documentation to learn how to import and export FMUs.

Commercial Support

You're starting a project, need training or professional support? Our partners at Claytex are ready to help you.

License

Copyright © 2023 Dassault Systèmes. The code is released under the 2-Clause BSD license.