Question
How to export a MATLAB Simulink model as a Functional Mock-up Unit (FMU) using FMI standard for co-simulation with DIgSILENT PowerFactory?
Expert Answer
John Williams
PhD Expert
Answered Aug 26, 2026
To export a Simulink model as an FMU 2.0 Co-Simulation unit:
- Install Simulink Compiler and FMI Kit for Simulink.
- Open your model and configure input/output ports using
In1andOut1blocks. - In MATLAB Command Window, execute export command:
exportToFMU('my_simulink_model', 'FMUType', 'CoSimulation', 'FMIModuleVersion', '2.0'); - In DIgSILENT PowerFactory, open DSL / FMI Model Definition, import the generated
my_simulink_model.fmufile, and map grid signals.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related FMI/FMU Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →