diff nonExposed/check_options.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/check_options.m	Mon May 22 10:26:04 2017 +0200
+++ b/nonExposed/check_options.m	Mon May 22 10:46:10 2017 +0200
@@ -41,7 +41,7 @@
     if strcmp(timeMode,'generate') && strcmp(timeMode,'generate')
         error('Score does not have a sceneDuration field')
     else
-        fprintf(2, 'score.sceneduration does not exist; sceneDuration will be set to the duration of the scene to replicate')
+        fprintf(2, 'score.sceneduration does not exist; sceneDuration will be set to the duration of the scene to replicate.\n')
     end
 end
 
@@ -53,7 +53,7 @@
 
 if ~strcmp(timeMode,'generate') || ~strcmp(timeMode,'generate')
     if isfield(score,'events')
-        fprintf(2, 'score.event exist; score.events cells values will be used as offsets')
+        fprintf(2, 'score.event exist; score.events cells values will be used as offsets.\n')
     end
 end