I want the m-file of addheader function that loads the functions defined in the additional header file

I am using the function Loadllibrary, which has an "addheader" option went I use this option I get the following error :
??? Undefined function or method 'addheader' for input arguments of type 'char'.
And here is the way I write the command :
loadlibrary EnobioAPI.dll Enobio.h
addheader 'EnobioAPI_global'
So I think that I should download this function because when I use the help to look for this function, I got a message that this function is not exist.
Looking for your reply
Nada

댓글 수: 5

Something is wrong because the code you specified could not cause that error. There is no download needed unless you are using MATLAB 6.5 (R13). Given the way you specified the inputs to loadlibrary the quotes around the header name are not needed and will cause problems.
when I remove the quotes I got the same problem.
Did you install the download for loadlibrary? If you did then you will need to reinstall MATLAB because the download is only for R13.
what do you mean by " the download for loadlibrary" and how to install it?
Thanks in advance

댓글을 달려면 로그인하십시오.

 채택된 답변

There is no function or file addheader. The command should be:
loadlibrary EnobioAPI.dll Enobio.h addheader EnobioAPI_global
or
loadlibrary('EnobioAPI.dll','Enobio.h','addheader', 'EnobioAPI_global')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by