Page 1 of 1

Opensim API matlab

Posted: Fri Aug 21, 2020 11:29 pm
by mec_amini
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.