Page 1 of 1

Using simBody classes with OpenSim in matlab

Posted: Tue Jun 30, 2020 10:15 pm
by sambhav.ratna
Hello Everyone,

Is there any way I can use SimBody classes like PathSpring, CablePath, ContactForce, etc. through its API along with OpenSim API in Matlab.
For example, I would like to set a cable with PathSpring (using SimBody API) between arm and forearm of arm26 model(using OpenSim API). Is that possible in matlab?

Thanks,
Ratna

Re: Using simBody classes with OpenSim in matlab

Posted: Wed Jul 01, 2020 9:52 am
by aymanh
Hello,

Some of the classes you referred to are actually OpenSim classes rather than simbody, the classes available are documented here
https://simtk-confluence.stanford.edu/d ... ng+Doxygen

Generally we expose to Matlab simbody classes that are used for interfacing with OpenSim (e.g. Vectors, Vec3, SimbodyMatterSubsystem, State,..) but not classes that are used internally.

If there's a specific use-case or simbody functionality that you believe is missing from the interface please let us know so we can point you in the right direction.

Best regards,
-Ayman