Cant build remoteApi in Matlab

Report crashes, strange behaviour, or apparent bugs
Post Reply
msalbego93
Posts: 2
Joined: 26 Jun 2015, 16:40

Cant build remoteApi in Matlab

Post by msalbego93 »

Hello, I'm having difficulties to make the remoteApi work in Matlab. I'm running matlab 2011 32 bits on a machine with win7 64 bits. When I run vrep=remApi('remoteApi') i'm getting the following error:

Code: Select all

??? Error using ==> loadlibrary at 441
There was an error loading the library "remoteApi"
The specified module could not be found.



Error in ==> remApi>remApi.remApi at 594
					loadlibrary(obj.libName,@remoteApiProto);

Caused by:
    Error using ==> loaddefinedlibrary
    The specified module could not be found.

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

Re: Cant build remoteApi in Matlab

Post by coppelia »

Hello,

this means that the remote API library could not be found. Make sure you have the items indicated here in the folder of your Matlab program (or make sure that Matlab can find them). Also, since you are running Matlab 32 bits, make sure to use the 32 bit version of the library (e.g. remoteApi.dll (or similar depending on your platform))

Cheers

msalbego93
Posts: 2
Joined: 26 Jun 2015, 16:40

Re: Cant build remoteApi in Matlab

Post by msalbego93 »

Thaank you very much. Although I had set the current folder to \programming\remoteApiBindings\matlab I needed to set the folder in the Matlab path as well.

Post Reply