VRep Remote API for Matlab Versions older than 2008a

Requests or suggestions for new features
Post Reply
gerold.huber
Posts: 1
Joined: 30 Apr 2014, 10:15

VRep Remote API for Matlab Versions older than 2008a

Post by gerold.huber »

as my company only has a license for Matlab 2007b, i ran into a problem with the VRep Remote API. Appareantly it's programmed in "new style objec oriented programming" which was introduced in Maltab 2008a.
(Information on the differences: https://yagtom.googlecode.com/svn-histo ... ented.html)

So I translated the API to "old style OOP" and wanted to share it with the community:
https://drive.google.com/file/d/0B5ib6I ... sp=sharing
(Note: I only made it work with 2007b 32bit version, as the command

Code: Select all

loadlibrary('remoteApi','extApi.h') 
seems to not work with 2007b 64bit, because the use of the LCC compiler is hardcoded, however this compiler is not supported in the 64bit edition)

For the translation from new style to old style I split up the class remApi as follows: (cause "classded" is not supported)
[*] loadRemApiConstatns.m defining all the constants
[*] unloadRemApiConstatns.m deleting all the constants
[*] folder @remApi with a seperate file for each method

In the zip folder you also find an example matlab script that interacts with VRep.

Maybe this post helps someone who runs into that problem. Also let me know if I should commit or upload the code to some other place.

Regards from Austria,
Gerold

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

Re: VRep Remote API for Matlab Versions older than 2008a

Post by coppelia »

Thanks for your help Gerold!

Cheers

Post Reply