Commit aade2276 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: table fix bug where the table would not be saved in the directory...

reporting: table fix bug where the table would not be saved in the directory specified by tableDirName if the tableName option was provided
parent d560e59a
......@@ -40,6 +40,8 @@ end
if isempty(o.tableName)
o.tableName = sprintf('%s/table_pg%d_sec%d_row%d_col%d.tex', o.tableDirName, pg, sec, row, col);
else
o.tableName = [o.tableDirName '/' o.tableName];
end
[fid, msg] = fopen(o.tableName, 'w');
......
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