Hi there,
I am trying to run the examples in Resources/Code/Matlab and I am unable to run the example titled `exampleMarkerTracking10DOF.m`. The specific error appears at `markersRef = MarkersReference(fullfile(scriptdir, 'marker_trajectories.trc'));` where it says `No constructor 'org.opensim.modeling.MarkersReference' with matching signature found.` In the Command Line as well, `MarkersReference` is not resolved as an OpenSim function. All other OpenSim MATLAB API functions are running perfectly.
Kindly advise.
Best,
Umer
Not Able to Initialize MarkersReference
- Umer Huzaifa
- Posts: 10
- Joined: Wed Mar 04, 2020 11:41 pm
- Umer Huzaifa
- Posts: 10
- Joined: Wed Mar 04, 2020 11:41 pm
Re: Not Able to Initialize MarkersReference
Okay, it turns out that first initializing MarkersReference alone and then setting the markers file is the correct way to do it.
No errors now.
Code: Select all
markersRef = MarkersReference;
markersRef.set_marker_file('marker_trajectories.trc')