Hello I want in a org file, to include matlab code and run it (that I know how to do)
Then I want certain results, which are symbolic variables, expressed in latex, we I achieve using matlab's latex command. Like #+begin_src matlab :results output clear all syms e p R g w K K2 phi=[(e + (e+p)*R^2)^((g-1)/2);((e+p)*R*sqrt(1+R^2))/(e+(e+p)*R^2)] jac=jacobian(phi,[e,p]) ltxjac=latex(jac) #+end_src This result should of course also be included in the orgfile. But then I want to export the org file to latex, such that only the results, which have been converted to latex are exported and all the matlab command should be ignored, that is in that case: ltxjac but nicely surrounded by say $. Anybody has an idea how to do this efficiently? thanks regards Uwe Brauer