File Exchange

image thumbnail

Tool-Coupling Co-Simulation FMU Export for Simulink

Export a Model as a Tool-Coupling FMU


Updated 20 Mar 2019

To integrate Simulink® components into third-party software, export a Simulink model as a tool-coupling functional mockup unit (FMU). When a third-party tool runs the FMU, it checks out required licenses and starts a local installation of Simulink to start the model. This function requires the Tool-Coupling Co-Simulation FMU Export for Simulink support package. Use the Add-On Explorer to download and install the support package.

Comments and Ratings (7)

Please discard my below comment. I did not start the server and hence the error. After starting the server, it works fine.
One enhancement suggestion which would be useful is to run the server on another PC and still be able to simulate. Cross platform would be even great. Like FMU imported in Linux and MATLAB server running on Windows.

kiran kumar

yz yang

I maybe find a bug using this plug-in tool.
In simulink model,I set the solver type was Fixed-step Solver,solver was ode4(Runge-Kutta),Fixed-step size was 1e-9. The simulink model was exported to FMU file,then the FMU file was imported in third-party software(AMESim). In third-party software, I set co-simulation step size of FMU was 1e-09s ,model can not simulate successfully. But co-simulation step size of FMU was set ≤ 1e-07s,model simulated successfully. But this error did not occur when I used FMU file which was exported by Modelon plug-in tool named FMI toolbox to simulate in third-party software .

Benjin Luo

OK, it seems the possibility is available from 2018.

Benjin Luo

how can I find the release for 2017b? Thanks


Ben (view profile)

is something comparable available for previoous releases as well (2015b / 2017b)?


huhao (view profile)


MATLAB Release Compatibility
Created with R2018b
Compatible with R2018b to R2019a
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor