How to implement dll file to use this functions in matlab or simulink

7 visualizaciones (últimos 30 días)
Hi everyone, i generated a dll file from my LabVIEW model. Now i want to implement this model to Matlab or Simulink. Is this possible and if it is, how has it to be done?

Respuestas (1)

Jemima Pulipati
Jemima Pulipati el 10 de Jul. de 2020
Hello,
Yes, a DLL can be loaded in Simulink and its functions can be used.
There are several ways to do this. For a list of ways to incorporate the DLL, please refer to the paper available at the following link:
One way to load a DLL in Simulink is to use the C MEX S-function block
To get started, you can have a look at these S-function examples
You can also use this tutorial to know how to load a DLL in C
NOTE: The process for Linux-based operating systems is a bit differentand you can refer this for more information.

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by