Oh, that's no problem tobsen. You were quicker than I. What you just figured out by yourself I wanted to suggest you.
You not need to set the interpreter, because mlf2pdf is using pdflatex anyway.
Have fun with Matlab and LaTeX.
06 Oct 2011
matlabfrag to pdf
Small script using matlabfrag to create a latex formatted pdf file.
Thanks Ralf for the quick reply, I'm rather new to Matlab, so maybe I did something wrong, but the code that doesn't work is this:
% plot water level over flow (Q)
Q = 200:100:50000;
h = zeros(498,1);
j = 1;
h(j) = river_stage(i);
j = j + 1;
ylabel('Stage (m above sea level)');