Opensim API matlab

Provides tools for using different aspects of Opensim within the Matlab environment, including command line pipelines as well as accessing the Opensim API directly.
POST REPLY
User avatar
samane amini
Posts: 5
Joined: Wed Apr 22, 2020 11:39 am

Opensim API matlab

Post by samane amini » Fri Aug 21, 2020 11:29 pm

Hi guys

I would try to use [addincontrol] in Matlab code. I want to define control signal for one actuator. thus I write this code. but it isn't work. why?

modelcontrols = walkerModel.getDefaultControls

model.updActuators().get("knee_motor_r").addInControls(0,modelcontrols)

please guide me.

POST REPLY