Page 1 of 1

C3D Extraction Toolbox installation problem (Gait extract)

Posted: Mon Oct 01, 2012 8:40 am
by marika
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?

Re: C3D Extraction Toolbox installation problem (Gait extrac

Posted: Mon Oct 01, 2012 10:14 am
by twdorn
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

Re: C3D Extraction Toolbox installation problem (Gait extrac

Posted: Mon Oct 01, 2012 10:42 am
by marika
Thanks Tim. I will try that.

Re: C3D Extraction Toolbox installation problem (Gait extrac

Posted: Tue Oct 30, 2012 1:42 pm
by marika
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?

Re: C3D Extraction Toolbox installation problem (Gait extrac

Posted: Wed Oct 31, 2012 9:27 am
by twdorn
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.

Re: C3D Extraction Toolbox installation problem (Gait extrac

Posted: Sat Nov 07, 2015 9:56 am
by pmonjar
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

Re: C3D Extraction Toolbox installation problem (Gait extrac

Posted: Tue Nov 10, 2015 11:03 am
by jimmy
Hi Pablo,

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

Goodluck,
-J

Re: C3D Extraction Toolbox installation problem (Gait extract)

Posted: Wed Sep 21, 2016 7:17 am
by assalfarrahi
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