Importing trackmate files in Matlab

imagej
matlab
imagej-matlab

#1

EDIT: Figured it out myself.

Hello. I am trying to import a Trackmate file to Matlab (code in the bottom). I get the error i copy pasted to the bottom. If i change the file name to 6Tracks.xml, i can import it just fine. My question is why does the file have to have a specific name for Matlab to import it, and how can I change this? Thank you

addpath(’/Applications/Fiji.app/scripts’)
clipZ = true;
scaleT = true;
file_path_tracks = ‘Tracks1.xml’;
tracks = importTrackMateTracks(file_path_tracks, clipZ, scaleT);
n_tracks = numel( tracks );

Error:

prove
Error using importTrackMateTracks (line 86)
Failed to read XML file 6Tracks.xml.
Error in prove (line 6)
tracks = importTrackMateTracks(file_path_tracks, clipZ, scaleT);