This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Troubleshoot Model Links to DLLs

Some model build issues are caused by linking to dynamic link libraries (.dll).

What This Issue Means

When building real-time applications, the Simulink® Real-Time™ software supports links to static link libraries (.lib) only, not links to dynamic link libraries (.dll), such as Windows® libraries. Building a real-time application from a model with links to one or more DLLs produces a build error.

Try This Workaround

When you build your models, check that you link to only static link libraries. When you compile with Simulink Real-Time S-functions, linking to static libraries avoids the dependency issues that occur in dynamic libraries. Each static library must be self contained. The static library must not be dependent on another external library.

Related Topics