Page 1 of 1

Matlab function undefined btk_animate_markers

Posted: Tue Oct 01, 2013 4:02 pm
by ehageman
I'm trying to run example data (testRunning.c3d) in Matlab (MU_walk_pipeline.m) provided in the Matlab Opensim Pipeline Tools, MU2392 Tim Dorn Test Data\ExampleData. I've successfully run the static trial (testStatic.c3d) but I'm getting an error when trying to run the dynamic trial:

Undefined function 'btk_animate_markers' for input arguments of type 'struct'.

Error in btk_c3d2trc (line 104)
btk_animate_markers(data.marker_data, data.fp_data, 5)

Error in MU_walk_pipeline (line 76)
data = btk_c3d2trc(data,'on'); % change to 'off' to turn animation off

I cannot find the btk_animate_markers function within my Matlab directory. I'm currently using Matlab version R2011b. Is there somewhere else I can go to download this function?

Thanks,
Liz Boyer

Re: Matlab function undefined btk_animate_markers

Posted: Wed Oct 02, 2013 12:01 am
by twdorn
Hi Liz,

I'm not sure which example you're running but the one provided with the latest toolbox version (1.71) at https://simtk.org/project/xml/downloads ... oup_id=341 does not contain that file. I've searched my computer and also couldn't find that file. I would suggest using the example provided with the download.

Regards,
Tim