Binding issue between MATLAB with CoppeliaSim

Typically: "How do I... ", "How can I... " questions
Post Reply
zoesy
Posts: 1
Joined: 19 Oct 2024, 15:46

Binding issue between MATLAB with CoppeliaSim

Post by zoesy »

Hi,

I’m using a MacBook Air with the M3 chip and attempting to bind MATLAB with CoppeliaSim. I downloaded the Apple Silicon (Arm64) 4.7.0 version (rev. 4) of CoppeliaSim, but the remoteApi.dylib file in the content folder of CoppeliaSim appears to have an x86_64 architecture, causing compatibility issues. I'm unsure how to resolve this problem.

Looking forward to your response.
coppelia
Site Admin
Posts: 10747
Joined: 14 Dec 2012, 00:25

Re: Binding issue between MATLAB with CoppeliaSim

Post by coppelia »

Hello,

the legacy remote API is deprecated since a couple of years. It is highly recommended that you use the ZeroMQ remote API instead, which is much more flexible and easy to use.

You probably used the remoteApi.dylib that was compiled for CoppeliaSim V4.4, which didn't yet provide binaries for the ARM architecture. So you should compile it yourself, in addition to the deprecated server side remote API plugin, which is probably overkill and you might run into compatibility issues.

Best option would be to adjust the code you are currently using to run with the ZeroMQ remote API instead (this is also best for future).

Cheers
Post Reply