I get the error (Method was not found) with some library functions when i try to exsecute them using the calllib camand.
이전 댓글 표시
I get the error (Method was not found) with some library functions when i try to exsecute them using the calllib cammand in Matlab. I am attempting to program an microscope using Matlab. i have been able to initialize the microscope by doing the following:1.) loading the libraty via (loadlibrary 'library' 'hfile' options) 2.) i opened cummunication with the microscope susefully using (calllib('library',.dll,'dll camands',etc...)) 3.) i sufully initialized the microscope with (calllib('library',.dll,'dll camands',etc...)) 4.) and other comands using the calllib function.
However after initilizing the microscope, some of the .dll commands give me the following error when exicuted with the calllib function: Method was not found. Does anyone have any suggestions?
답변 (1개)
Kaustubha Govind
2011년 8월 2일
0 개 추천
Perhaps you should use LIBFUNCTIONS or LIBFUNCTIONSVIEW to look into the loaded library to verify the function prototypes. It could be that you are not passing in the right number or the right data-type for inputs, etc.
카테고리
도움말 센터 및 File Exchange에서 Reporting and Database Access에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!