Mercurial > hg > simscene-py
diff nonExposed/addUserOffsets.m @ 33:d0ceb549f734
replace warning to error display channel
author | Mathieu Lagrange <mathieu.lagrange@cnrs.fr> |
---|---|
date | Mon, 22 May 2017 10:46:10 +0200 |
parents | 8ce78cacb5cb |
children |
line wrap: on
line diff
--- a/nonExposed/addUserOffsets.m Mon May 22 10:26:04 2017 +0200 +++ b/nonExposed/addUserOffsets.m Mon May 22 10:46:10 2017 +0200 @@ -21,7 +21,7 @@ if length(scoreEvent)==1 && strcmp('',scoreEvent{1}{1}) % add the same offset to all the classes userOffset=[repmat(scoreEvent{1}{3},length(template),1) repmat(scoreEvent{1}{4},length(template),1) repmat(scoreEvent{1}{5},length(template),1) repmat(scoreEvent{1}{6},length(template),1)]; - fprintf(2, 'score.event if of length 1: classId will set to the class labels of the scene to replicate') + fprintf(2, 'score.event if of length 1: classId will set to the class labels of the scene to replicate.\n') else % add class wise offsets for jj=1:length(scoreEvent) scoreEventClass{jj}=scoreEvent{jj}{1}; end; for ii=1:length(template)