Error when trying to load .dll
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
Guillaume
2019-4-14
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 个评论
Panagiotis Bountouris
2019-4-14
Walter Roberson
2019-4-14
Historically it has been common for those processes to fail when there is a space in a directory name.
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!