Having trouble with MATLAB RemoteApi

Typically: "How do I... ", "How can I... " questions
Post Reply
TuraEngineering

Having trouble with MATLAB RemoteApi

Post by TuraEngineering »

Hi;

I am having trouble with MATLAB- V-rep remote api work while I run my code in MATLAB. The error that MATLAB gives is as follows.

"Error using loadlibrary>lFullPath (line 587)
Could not find file extApi.h.

Error in loadlibrary (line 220)
header=lFullPath(header);

Error in remApi (line 566)
loadlibrary(obj.libName,obj.hFile);

Error in simpleTest (line 21)
vrep=remApi('remoteApi','extApi.h');"

I used the test program under the programming folder in v-rep however, it gives the same (as above) error. I am wondering that if it is causing by 64 and 32 bits clash or not?

Cheers

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Having trouble with MATLAB RemoteApi

Post by coppelia »

Hello,

indeed you need to make sure that your Matlab copy is 32 bit, otherwise you will have to recompile the remoteApi.dll yourself in 64 bits.
Did you follow all the instructions here?

Try to put all the mentionned files into Matlab's working directory. Have you tried calling mex -setup?

Cheers

TuraEngineering

Re: Having trouble with MATLAB RemoteApi

Post by TuraEngineering »

Thanks for your attention. 64-32 bits incompatibility would be the least thing that I considered. :)

Regards

Post Reply