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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

Jemima Pulipati
Jemima Pulipati il 10 Lug 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.

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Tag

Prodotti


Release

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by