Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Problem with loading an example from "loadlibrary" Help
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to run the following example inMatlab Help for command"loadlibrary"
hfile = [matlabroot '\extern\include\matrix.h'];
loadlibrary('libmx', hfile, 'mfilename', 'mxproto')
I have installed Perl and Microsoft Software Development Kit (SDK) 7.1 as the C compiler. I have also chosen this compiler in "mex -setup" of command window. But when I run the above code I would see the following warning:
Warning: Warnings messages were produced while parsing. Check the functions you intend to use for
correctness. Warning text can be viewed using:
[notfound,warnings]=loadlibrary(...)
> In loadlibrary at 344
Line 344 in loadlibrary has something to do with Perl. But I have added whole Perl installed folder to Matlab path. Interestingly, when I use Lcc-win32 C 2.4.1 compiler there is no warning. So it seems that Matlab has problem with a "Microsoft" C compiler.
I am stuck on this for three weeks, because I finally want to load a National Instrument NIDAQmx library which encounters the same warning and consequent error. I am running 32 bit Matlab 2012a on a 32 bit Windows 7. I also have the latest Data Acquisition Toolbox. Any help would be greatly appreciated.
댓글 수: 1
Kaustubha Govind
2012년 7월 5일
What do you see in 'warnings' when you run: [notfound,warnings]=loadlibrary('libmx', hfile, 'mfilename', 'mxproto')
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!