warning doesn't print sprintf characters unless it is given more than one...

warning doesn't print sprintf characters unless it is given more than one argument. hence use sprintf
parent fd7476e6
Pipeline #2437 passed with stage
in 4 minutes and 10 seconds
......@@ -59,7 +59,9 @@ end
if ~exist(x13_binary, 'file')
if warn_only
warning('X13 binary is not available.\nIf you are under Debian or Ubuntu, you can install it through your package manager, with ''apt install x13as''.\nIf you are under Windows or macOS, this probably means that you did not install the dseries toolbox through an official package.\n');
warning(sprintf(['X13 binary is not available.\n' ...
'If you are under Debian or Ubuntu, you can install it through your package manager, with ''apt install x13as''.\n' ...
'If you are under Windows or macOS, this probably means that you did not install the dseries toolbox through an official package.\n']));
x13_binary = '';
else
error('Can''t find X13 binary');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment