private/createLabel.m
9e39a52b
 function label = createLabel(parent,  pos, labelText)
     label = uicontrol(parent,'Style','text','Units','normalized','String',labelText,'Position',pos);
     set(label,'HorizontalAlignment','left');
     set(label,'BackgroundColor','w');
 end