> On Friday, 10 Mar 2017 at 16:08, Uwe Brauer wrote:

    > [...]


    > You may need to add ":exports results" to the src line.

    > Also, you should also modify the code to wrap the output in an equation
    > environment:

    > disp('\begin{equation}')
    > disp(ltxjac)
    > disp('\end{equation}')


I played a bit more around, and John's code is a great help but the
matlab output for non symbolic variables is just awful

As in
#+begin_src matlab :results output 
clear all;
x=[ 1 2 2 3 4]
#+end_src

#+RESULTS:
: 
: x =
: 
:      1     2     2     3     4
: 

Does anybody know how to get a better formatted output, to get rid of
the empty lines and newline? best would be a org-table?

org-table-convert-region results in 

| :      1     2     2     3     4 |

Uwe Brauer 


Reply via email to