0001 classdef GTTrack < hgsetget 0002 properties 0003 Id % track id 0004 Dataset % dataset in which the track belong to eg: cplsaline1#3 0005 Cells % structure of cells 0006 end 0007 0008 methods 0009 function track = GTTrack(dataset,id,cell) 0010 0011 track.Id = id; 0012 track.Dataset = dataset; 0013 if nargin > 2 0014 track.Cells = cell; 0015 end 0016 end 0017 0018 function add(track,cell) 0019 track.Cells = [track.Cells; cell]; 0020 end 0021 end 0022 end