A Simulink library to import and export Functional Mock-up Units that supports...
- FMI 1.0 and 2.0
- Model Exchange and Co-Simulation
- Rapid Accelerator mode
- import of C code FMUs
- MATLAB R2012b - R2020a
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/v2.8/FMIKit-Simulink-2.8.zip'], 'FMIKit-Simulink-2.8')
% add the folder to the MATLAB path
addpath(fullfile(pwd, 'FMIKit-Simulink-2.8'))
% initialize FMI Kit
FMIKit.initialize()
% open the Bouncing Ball demo
fmikit_demo_BouncingBall
% open the documentation
web('FMIKit-Simulink-2.8/html/index.html')
See the documentation to learn how to import and export FMUs.
You're starting a project, need training or professional support? Our partners at Claytex are ready to help you.
Copyright © 2020 Dassault Systèmes. The code is released under the 2-Clause BSD license.