diff --git a/matlab/reports/@report/compile.m b/matlab/reports/@report/compile.m index 14990e912d08d8ae964101efb9a0bfec57d83c2d..9a7170e5d785a14bee15ddd7a3ffe823278a3f16 100644 --- a/matlab/reports/@report/compile.m +++ b/matlab/reports/@report/compile.m @@ -60,4 +60,8 @@ end fprintf(1, '\n\nDone.\n') disp('Your compiled report is located here:'); disp([' ' pwd filesep rfn '.pdf']); + +if ~exist('OCTAVE_VERSION') + open([pwd filesep rfn '.pdf']); +end end \ No newline at end of file