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

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
joana baptista
Posts: 21
Joined: Fri Apr 01, 2011 4:52 am

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

Post by joana baptista » Thu Sep 08, 2011 4:31 am

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

User avatar
Glen Lichtwark
Posts: 30
Joined: Mon Nov 19, 2007 10:02 pm

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

Post by Glen Lichtwark » Thu Sep 08, 2011 2:36 pm

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++.

POST REPLY