reporting: fix bug causing directory to be ignored if figname option was passed to addGraph

remove-priordens
Houtan Bastani 2014-02-19 09:05:55 +01:00
parent 96cd971f66
commit 414ef860ab
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ end
if isempty(o.figname)
o.figname = sprintf('%s/pg%d_sec%d_row%d_col%d.tex', o.figDirName, pg, sec, row, col);
else
o.figname = [o.figDirName '/' o.figname];
end
[fid, msg] = fopen(o.figname, 'w');