How to load a dll in MATLAB
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alfredo Guariglia
el 13 de En. de 2015
Comentada: Alfredo Guariglia
el 14 de En. de 2015
Hi, me and my team are developing some applications with MATLAB and Simulink. Say that I want to work with dll for multiple advantages that this approach has.
Question: I managed to load a dll in MATLAB now we would like to use it in Simulink. How can it be achieved?
Thanks for the help.
0 comentarios
Respuesta aceptada
Umakant
el 13 de En. de 2015
Editada: Umakant
el 13 de En. de 2015
Please refer to the following link which gives information on using the S-function and to use the DLL in Simulink using Simulink 8.0(R2012b), 32-bit.
http://www.mathworks.com/matlabcentral/answers/91975-how-can-i-use-a-dll-file-in-simulink-8-0-r2012b
The solution by ‘MathWorks Technical Support Team’ to the post also includes information on using the S-function to load the DLL. See the attachment with the post. This example will work for 32-bit MATLAB.
For 64 bit MATLAB you may need to recompile the S-function.If you have a 64-bit application, everything related to that application, including the DLLs, must be compiled as 64-bit.
Refer to the following link for more information:
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions 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!