0001 classdef WBCFrame < hgsetget 0002 properties 0003 Sequence % Sequence name 0004 Id % Frame number 0005 Cells % array of cell information 0006 nCells 0007 end % properties 0008 0009 methods 0010 function frame = WBCFrame(seq,id) 0011 % Constructor 0012 frame.Sequence = seq; 0013 frame.Id = id; 0014 frame.Cells = []; 0015 frame.nCells = 0; 0016 end 0017 0018 function add(frame,cell) 0019 frame.Cells = [frame.Cells cell]; 0020 frame.nCells = frame.nCells + 1; 0021 end 0022 end % methods 0023 end % Frame