Page 1 of 1

Matlab code for processing .sto file

Posted: Wed Nov 13, 2019 2:59 pm
by sanzid33
Hi,
can anyone provide me with a Matlab script to process .sto file data of OpenSim?

Thanks

Re: Matlab code for processing .sto file

Posted: Wed Nov 13, 2019 5:18 pm
by jimmy
There is documentation on the OpenSim Wiki. However that may be for the most current version (built from source). If you are using the 4.0 downloaded from SimTK, then it will be something like;

Code: Select all

dataTable = STOFileAdapter.read('path2File.m')
dataStruct = osimTableToStruct(dataTable);