-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Hello,
I'm very thankful for ezc3d! I have had success using it for a variety of tasks. However, I'm finding that there is one parameter value that ezc3dWrite doesn't seem to be saving correctly. I'm able to open my c3d file, to change various fields, and to save them successfully, with the exception of the Analog Scale values. Simply opening the file and resaving it causes all the previous values to be overwritten with ones. The same thing happens no matter what I set the scale values to.
c3d = ezc3dRead('Dancer800R1S_force_fixed.c3d');
c3d.parameters.ANALOG.SCALE.DATA
ezc3dWrite('Dancer800R1S_force_rewritten.c3d',c3d);
c3d = ezc3dRead('Dancer800R1S_force_rewritten.c3d');
c3d.parameters.ANALOG.SCALE.DATA
ans =
-1
-1
-1
-1
-1
-1
1
ans =
1
1
1
1
1
1
1
I've attached my c3d file and some sample Matlab code and would be grateful for any suggestions!
Thanks,
Philip Tan
Messiah University
Grantham, Pennsylvania, US
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels