Mercurial > hg > simscene-py
diff nonExposed/utils/process_options.m @ 32:8ce78cacb5cb
replace warning to error display channel
author | Mathieu Lagrange <mathieu.lagrange@cnrs.fr> |
---|---|
date | Mon, 22 May 2017 10:26:04 +0200 |
parents | b1901e8d8f5f |
children |
line wrap: on
line diff
--- a/nonExposed/utils/process_options.m Mon May 22 10:19:52 2017 +0200 +++ b/nonExposed/utils/process_options.m Mon May 22 10:26:04 2017 +0200 @@ -123,7 +123,7 @@ end if (~found) if (warn) - warning(sprintf('Option ''%s'' not used.', args{i})); + fprintf(2, sprintf('Option ''%s'' not used.', args{i})); args{i} else nunused = nunused + 1;