How do i get rid of the warning 'The function 'functionname' was not found in the library In loadlibrary at 402'
조회 수: 1 (최근 30일)
이전 댓글 표시
I cannot figure out why this warning pops up. But inside the h file this is an example of one of the functions it says was not found in the library:
struct StructName *FunctionName( struct StructName *file, char *Name, double startTime,double stopTime, double *refTIME, struct TimeTag *pRefGMT, unsigned short returnType);
It seems like the function is declared in the .dll header file. How do i get this library to load into matlab w/out this error popping up?
댓글 수: 1
Kaustubha Govind
2013년 6월 17일
Is it possible that the header file declares the function, but it is not actually exported from the library? Please look at the list of functions exported from the library to make sure of that.
답변 (1개)
Andrew Reibold
2013년 6월 17일
편집: Andrew Reibold
2013년 6월 17일
If its not affecting your code, and you want it to run as is but suppress the warnings, then put this before the line you want to start suppression.
warning('off','all') %Turns off warnings
and afterwards put
warning('on','all') %Turns them back on for future work
-Andrew
참고 항목
카테고리
Help Center 및 File Exchange에서 Call C from MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!