From Simulink to DLL - A tutorial

Describes how to build a DLL or shared library from a Simulink model.

You are now following this Submission

This document attempts to give a hands-on description on how to make a DLL from a controller built in Simulink. This makes it possible to develop advanced controllers in Simulink, and then use them from an arbitrary application. Persons with knowledge in the C programming language should have no problems converting the steps in this tutorial to build Linux/Unix libraries, thus expanding the scope of this document to be applicable not only on Windows.

Cite As

Roland Pfeiffer (2026). From Simulink to DLL - A tutorial (https://uk.mathworks.com/matlabcentral/fileexchange/9709-from-simulink-to-dll-a-tutorial), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Modeling in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0