Modernization: use tilde (~) syntax for ignored output arguments

parent f52afff7
...@@ -99,9 +99,9 @@ if opts.showOutput ...@@ -99,9 +99,9 @@ if opts.showOutput
status = system([opts.compiler ' ' options middle o.fileName], '-echo'); status = system([opts.compiler ' ' options middle o.fileName], '-echo');
end end
else else
[status, junk] = system([opts.compiler ' -interaction=batchmode ' options middle o.fileName]); [status, ~] = system([opts.compiler ' -interaction=batchmode ' options middle o.fileName]);
end end
[junk, rfn, junk] = fileparts(o.fileName); [~, rfn, ~] = fileparts(o.fileName);
if status ~= 0 if status ~= 0
error(['@report.compile: There was an error in compiling ' rfn '.pdf.' ... error(['@report.compile: There was an error in compiling ' rfn '.pdf.' ...
......
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