Page 1 of 1

Coordinate::setPrescribedFunction(const OpenSim::Function& f

Posted: Thu Sep 08, 2011 4:31 am
by joanabaptista
Hi,

I have been trying to implement this function

Coordinate::setPrescribedFunction(const OpenSim::Function& function)

in my model code, but I'm not quite sure on how to do it. Can I get some help me on this?

Joana

Re: Coordinate::setPrescribedFunction(const OpenSim::Functio

Posted: Thu Sep 08, 2011 2:36 pm
by glichtwark
This won't be able to be performed through the Matlab interface, because the function input (Opensim::Function) is not in a known data type for Matlab. If you want to implement this type of higher level function, you will have to use C++.