Skip to content
Snippets Groups Projects
Commit 5cb2fd4a authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: compile with synctex option

parent 80de0f32
Branches
Tags
No related merge requests found
......@@ -192,3 +192,6 @@ mex/build/matlab/run_m2html.m
/contrib/ms-sbvar/*.dat
/contrib/ms-sbvar/sbvar_commandline
/contrib/ms-sbvar/sbvar_init_file
# Reporting
*synctex.gz
\ No newline at end of file
......@@ -47,6 +47,7 @@ if ~exist(o.filename, 'file')
end
middle = ' ./';
options = '-synctex=1';
if isoctave
echo = 1;
else
......@@ -71,7 +72,7 @@ if isempty(compiler)
o.compiler = compiler;
end
status = system([compiler middle o.filename], echo);
status = system([compiler ' ' options middle o.filename], echo);
[junk, rfn, junk] = fileparts(o.filename);
if status ~= 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment