I am trying to read an opensim model described in a .osim file into MATLAB, and then add a wrapping ellipsoid to the same.
% I first initialize an empty WrapEllipsoid object
W = WrapEllipsoid();
However beyond this point, I am not sure how to specify the dimensions, translation and XYZ rotation of the ellipsoid. The downcasting method described in the example file 'TugOfWar_Build.m' does not seem to work with the latest version of the API either.
Creating wrapping surfaces
- Anantharaman Gopalakrishnan
- Posts: 19
- Joined: Fri Oct 10, 2008 2:38 pm
- Glen Lichtwark
- Posts: 30
- Joined: Mon Nov 19, 2007 10:02 pm
Re: Creating wrapping surfaces
Due to incorporation of the Matlab - Opensim API into Opensim 3.0 and above, the functionality has changed slightly. This is well documented in the new version of Opensim. Hence the Matlab-Opensim API download has been removed to save confusion.