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 个)

Andrew Reibold
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
  1 个评论
ryan
ryan 2013-6-17
yeah, i am pretty sure that some of the functions that are being found in the library that i use, are using some of the functions that are not being found. so yes, i think i need to get this working.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call C from MATLAB 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by