P.S.: I should also mention, that I have added all the directories to the search path using
But still, the files are not found.
I am currently trying to call functions from a dll from within MATLAB. Here are two things that I tried and have questions about:
This is the way I am used to calling Dlls (from LabVIEW): reference the dll, select a function and pass the parameters. However, when I call this, I get an error back: Error using calllib Library was not found
The file is definitely at that location. Is this sort of call possible?
2.: When I go to the documentation folder and call
I get a different error, that tells me the file that is being referenced by an include does not exist "common/nowarn.h". Now, that file is in a parallel folder and not in a subfolder to the "apimx.h", so the path would be "../../common/nowarn.h" from where apimx is.
Because of this, I copied the folder into the "apimx" folder and got the same message for the next include in line. Since the header files reference each other, I can't rearrange everything, because it would take a long time. Is there a way to make MATLAB understand the structure better?
Edit: Sorry, somehow the post got submitted while adding tags.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!