Skip to content

MATLAB changing parameter data type/ezc3dWrite won't write integer parameter #387

Description

@tishyaw

When I read a C3D in MATLAB using ezc3dRead and then write it (without changes) using ezc3dWrite, parameters in the TRIAL group such as ACTUAL_START_FIELD, ACTUAL_END_FIELD, X_DIRECTION, Y_DIRECTION, Z_DIRECTION change from integers (as written by Vicon) to real numbers. This causes a problem reading the C3D in some programs. In the MATLAB structure, the parameter data are type double and if I try to change them to integer (uint16) or another type ezc3dWrite gives the error: "Error using ezc3dWrite. Unrecognized type for parameter.TRIAL.ACTUAL_START_FIELD." Is it possible to get these written out as integer (unsigned int16)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions