I get the error (Method was not found) with some library functions when i try to exsecute them using the calllib camand.
Ältere Kommentare anzeigen
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?
Antworten (1)
Kaustubha Govind
am 2 Aug. 2011
0 Stimmen
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.
Kategorien
Mehr zu Reporting and Database Access finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!