How to pass a path from MATLAB to CoppeliaSim

Typically: "How do I... ", "How can I... " questions
Post Reply
sergio_ortega
Posts: 1
Joined: 01 Feb 2021, 12:37

How to pass a path from MATLAB to CoppeliaSim

Post by sergio_ortega »

Hello,

I want to create a path in CoppeliaSim from Matlab, and looking in the forum, the only thing I managed to find is the
simxAppendStringSignal function, which recommends using simxWriteStringStream because it is deprecated.

Following the structure of this function, I get error in signalValueToAppend.

Can you give me an example to understand what kind of data you have to put in that section?

Thank you

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

Re: How to pass a path from MATLAB to CoppeliaSim

Post by coppelia »

Hello,

the more flexible way to pass data to CoppeliaSim from a legacy remote APi client would be to call a script function with simxCallScriptFunction.

Cheers

Post Reply