emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org babel: %% [removed source block]


From: Uwe Brauer
Subject: Re: [O] org babel: %% [removed source block]
Date: Thu, 29 Nov 2018 16:16:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>> "John" == John Kitchin <address@hidden> writes:

   > Maybe you need :exports and not :export.
   > John

I tried 

#+begin_src matlab :tangle test.m  :exports code :padline no 
function [ll x]=mitest(A0,x0)
% initialization 
format long
epsi=1.e-3;
nit=0;
nmaxit=200;
Delta=10;
A=A0;
while Delta>epsi & nit<nmaxit
    nit=nit+1; % counter
#+end_src

The basic idea is.
That we do.
We also will

#+begin_src matlab  :tangle test.m :exports code  :padline no 
    y=A*x0;
end
#+end_src


And obtain 

\begin{document}

%% [removed source block]
The basic idea is.
That we do.
We also will

%% [removed source block]
\end{document}

Anybody has a working example?

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]