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

1 view (last 30 days)
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?

Answers (1)

Jemima Pulipati
Jemima Pulipati on 10 Jul 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.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!