This question is closed. Reopen it to edit or answer.
calling or linking shear library from DLL matlab?
1 view (last 30 days)
Show older comments
Alaa hejer on 13 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
hi every on i have DLL file to make linking between the matlab and controller but when I calling the library by using the code
function main() %% Load the library from dll if libisloaded('LV5250SDK') else loadlibrary ('LV5250SDK.dll','lv5250.h'); end end
when I run the m.file I don't get the answer i get error in commend as shown in below
Error using loadlibrary (line 422) Failed to preprocess the input file. Output from preprocessor is:LV5250.h F:\software robocim5250 with matlab ,c++and labview\lib\LV5250.h(19) : fatal error C1083: Cannot open include file: 'LVSerial.h': No such file or directory
Error in robottohomeposition (line 5) loadlibrary ('LV5250SDK.dll','lv5250.h');
can help me to solve this problem to get the answer
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!