Error when trying to load .dll
Show older comments
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.
Accepted Answer
More Answers (1)
Guillaume
on 14 Apr 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 Comments
Panagiotis Bountouris
on 14 Apr 2019
Walter Roberson
on 14 Apr 2019
Historically it has been common for those processes to fail when there is a space in a directory name.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!