Function: org-babel-octave-evaluate

org-babel-octave-evaluate is a byte-compiled function defined in ob-octave.el.gz.

Signature

(org-babel-octave-evaluate SESSION BODY RESULT-TYPE &optional MATLABP)

Documentation

Pass BODY to the octave process in SESSION.

If RESULT-TYPE equals output then return the outputs of the statements in BODY, if RESULT-TYPE equals value then return the value of the last statement in BODY, as elisp.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-octave.el.gz
(defun org-babel-octave-evaluate
    (session body result-type &optional matlabp)
  "Pass BODY to the octave process in SESSION.
If RESULT-TYPE equals `output' then return the outputs of the
statements in BODY, if RESULT-TYPE equals `value' then return the
value of the last statement in BODY, as elisp."
  (if session
      (org-babel-octave-evaluate-session session body result-type matlabp)
    (org-babel-octave-evaluate-external-process body result-type matlabp)))