Matlab function undefined btk_animate_markers

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Elizabeth Hageman
Posts: 1
Joined: Mon Aug 31, 2009 6:28 pm

Matlab function undefined btk_animate_markers

Post by Elizabeth Hageman » Tue Oct 01, 2013 4:02 pm

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

User avatar
Tim Dorn
Posts: 125
Joined: Tue Feb 26, 2008 10:14 pm

Re: Matlab function undefined btk_animate_markers

Post by Tim Dorn » Wed Oct 02, 2013 12:01 am

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

POST REPLY