Skip to content
Snippets Groups Projects
Commit b2e434ed authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

use sprintf arg style with warning

warning('tsgqc_GUI:tsg_nc', ...
'unknow type ''%s'' for ''%s'' attribute.\nCheck your %s file', ...
type, member, ncv.file);   
parent 97654797
No related branches found
No related tags found
No related merge requests found
......@@ -138,8 +138,9 @@ for i=1:ncv.size
% by default, display a warning and cast to char
% ----------------------------------------------
warning('tsgqc_GUI:tsg_nc', [' unknow type: ' type ...
' for ' member ' attribute. Check your ' ncv.file ' file ...']);
warning('tsgqc_GUI:tsg_nc', ...
'unknow type ''%s'' for ''%s'' attribute.\nCheck your %s file', ...
type, member, ncv.file);
theStruct.(member) = value;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment