Error when trying to load .dll
Mostrar comentarios más antiguos
I try to load the PID_win64.dll library shown in figure below but I get this error:


The headers are placed in the folder PID_ert_shrlib_rtw.
Respuesta aceptada
Más respuestas (1)
Guillaume
el 14 de Abr. de 2019
You probably need to add an 'IncludePath' parameter to your loadlibrary call to specify which directory the include file rtw_continuous.h resides in
load_library('PID_Win64', 'PID.h', 'addheader', 'PID_private', 'IncludePath', 'path\to\include\directory')
2 comentarios
Panagiotis Bountouris
el 14 de Abr. de 2019
Walter Roberson
el 14 de Abr. de 2019
Historically it has been common for those processes to fail when there is a space in a directory name.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!