C3D Extraction Toolbox installation problem (Gait extract)

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Marika B
Posts: 8
Joined: Wed Jul 25, 2012 6:09 am

C3D Extraction Toolbox installation problem (Gait extract)

Post by Marika B » Mon Oct 01, 2012 8:40 am

I downloaded the C3D Extraction Toolbox from here: https://simtk.org/project/xml/downloads ... kage_id574 and tried to install it.
I followed the initial instructions. When I clicked run in matlab this was the outcome:

Instructions
------------
1) Copy the ENTIRE toolbox directory to a desired location
2) Load MATLAB and change directory to this install directory
3) Run this install program

Toolbox will be added to the matlab path in: C:\Program Files (x86)\GaitExtractToolbox171
Ready to proceed with installation? (y/n): y
Step 1: Install c3dServer & C3DViewer (Motion Labs)
Step 2: Set up Toolbox Paths
Warning: Unable to save path to file 'C:\Program Files\MATLAB\R2010a\toolbox\local\pathdef.m'.
> In savepath at 162
In installGaitExtractToolbox at 44
Installed Sucessfully!
??? Error using ==> feval
Server Creation Failed: Class not registered



Error in ==> actxserver at 87
h=feval(['COM.' convertedProgID], 'server', machinename, interface);

Error in ==> c3dserver at 24
itf = actxserver('C3DServer.C3D');

Error in ==> installGaitExtractToolbox at 50
test = c3dserver;

What can the error be due to?

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

Re: C3D Extraction Toolbox installation problem (Gait extrac

Post by Tim Dorn » Mon Oct 01, 2012 10:14 am

This error occurs because you are using a 64 bit version of Matlab. The c3dserver utility (which comes with the toolbox) does not work with a 64-bit version of Matlab. You will need to revert to the 32-bit version, which seems to fix the problem.

Cheers,
Tim

User avatar
Marika B
Posts: 8
Joined: Wed Jul 25, 2012 6:09 am

Re: C3D Extraction Toolbox installation problem (Gait extrac

Post by Marika B » Mon Oct 01, 2012 10:42 am

Thanks Tim. I will try that.

User avatar
Marika B
Posts: 8
Joined: Wed Jul 25, 2012 6:09 am

Re: C3D Extraction Toolbox installation problem (Gait extrac

Post by Marika B » Tue Oct 30, 2012 1:42 pm

In finally installed a 32 bit version of matlab and tried using the gait extraction tool again.

I'm getting the following:
Toolbox will be added to the matlab path in: C:\GaitExtractToolbox171
Ready to proceed with installation? (y/n): y
Step 1: Install c3dServer & C3DViewer (Motion Labs)
Step 2: Set up Toolbox Paths
Warning: Unable to save path to file 'C:\Program Files (x86)\MATLAB\R2010a\toolbox\local\pathdef.m'.
> In savepath at 162
In installGaitExtractToolbox at 44
Installed Sucessfully!
Tested Sucessfully!



Now the path mentioned (C:\Program Files (x86)\MATLAB\R2010a\toolbox\local) does exist.
I tried running the 'walk' example given with the gait extract toolbox and from the matlab side it looks functioning but the files opened in Opensim result in static markers.

I'm guessing it still is a matlab problem right?

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

Re: C3D Extraction Toolbox installation problem (Gait extrac

Post by Tim Dorn » Wed Oct 31, 2012 9:27 am

It could be a problem with having admin access to your toolbox location. You could try adding the path manually in Matlab: File -> Set Path. If you still can't add the path this way, then there is permissions problem and you will need to speak to your computer administrator.

User avatar
pablo monjardin
Posts: 1
Joined: Tue Oct 27, 2015 5:31 am

Re: C3D Extraction Toolbox installation problem (Gait extrac

Post by pablo monjardin » Sat Nov 07, 2015 9:56 am

I downloaded gait extraction toolbox on 32-bit Matlab, but when running the example I got the following error:

Undefined function or variable 'getEvents'.

Error in testDownStair (line 26)
keySta = getEvents(c3dFileStatic, 2);

Does anyone know how to solve these??

Thank you

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: C3D Extraction Toolbox installation problem (Gait extrac

Post by jimmy d » Tue Nov 10, 2015 11:03 am

Hi Pablo,

This toolbox is abandoned (the author doesn't update or support). I would suggest using MOtoNMS.

Goodluck,
-J

User avatar
Assal Farrahi
Posts: 2
Joined: Tue May 17, 2016 3:04 am

Re: C3D Extraction Toolbox installation problem (Gait extract)

Post by Assal Farrahi » Wed Sep 21, 2016 7:17 am

The solution that I found is first unistal the older version of C3Dserver that comes with the package and reinstall a newer version from (https://www.motion-labs.com/software_c3d_c3dserver.html) it supports both 64 and 32 bits. Then it works but still there are some functions that are not supported in the newer version of matlab but you can get part of teh results

POST REPLY