Borrar filtros
Borrar filtros

How to use Simulink generated DLL into Matlab script?

1 visualización (últimos 30 días)
Geetanshu Chhajed
Geetanshu Chhajed el 28 de En. de 2023
Comentada: Geetanshu Chhajed el 21 de Jul. de 2023
I have generated DLL from a simulink model. But now I want to use this model DLL into the m script using load command. But here in DLL i am not even able to see which is the function and how i can give input arguments to it. Please consider the attached file for reference. How should i proceed further in this?

Respuestas (1)

Mark McBroom
Mark McBroom el 30 de En. de 2023
You should be able to call functions in DLL from MATLAB using either loadlibrary()
  1 comentario
Geetanshu Chhajed
Geetanshu Chhajed el 21 de Jul. de 2023
No it does not work. I called using loadlibrary function as well. I am not even getting how to give input to this dll as it always gives libpointer as answer when used calllib function.

Iniciar sesión para comentar.


Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by