2015-10-25 20:56:00 -04:00
|
|
|
;;; ob-matlab.el --- Babel support for Matlab -*- lexical-binding: t; -*-
|
2010-03-18 14:45:39 -04:00
|
|
|
|
2022-01-01 15:10:55 -05:00
|
|
|
;; Copyright (C) 2010-2022 Free Software Foundation, Inc.
|
2010-03-18 14:45:39 -04:00
|
|
|
|
|
|
|
;; Author: Dan Davison
|
|
|
|
;; Keywords: literate programming, reproducible research
|
2021-09-26 03:44:29 -04:00
|
|
|
;; URL: https://orgmode.org
|
2010-03-18 14:45:39 -04:00
|
|
|
|
2010-06-25 12:32:35 -04:00
|
|
|
;; This file is part of GNU Emacs.
|
2010-03-18 14:45:39 -04:00
|
|
|
|
2010-06-25 12:32:35 -04:00
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
2010-03-18 14:45:39 -04:00
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2010-06-25 12:32:35 -04:00
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
2010-03-18 14:45:39 -04:00
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
2010-06-25 12:32:35 -04:00
|
|
|
|
2010-03-18 14:45:39 -04:00
|
|
|
;; You should have received a copy of the GNU General Public License
|
2017-09-13 18:52:52 -04:00
|
|
|
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
2010-03-18 14:45:39 -04:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;; Functions that are common to org-babel support for matlab and
|
|
|
|
;; octave are in org-babel-octave.el
|
|
|
|
|
|
|
|
;;; Requirements:
|
|
|
|
|
|
|
|
;; Matlab
|
|
|
|
|
|
|
|
;; matlab.el required for interactive emacs sessions and matlab-mode
|
|
|
|
;; major mode for source code editing buffer
|
2022-10-15 05:17:51 -04:00
|
|
|
;; https://matlab-emacs.sourceforge.net/
|
2010-03-18 14:45:39 -04:00
|
|
|
|
|
|
|
;;; Code:
|
2022-08-04 09:53:05 -04:00
|
|
|
|
|
|
|
(require 'org-macs)
|
|
|
|
(org-assert-version)
|
|
|
|
|
2010-07-02 22:21:31 -04:00
|
|
|
(require 'ob)
|
2010-06-11 19:02:42 -04:00
|
|
|
(require 'ob-octave)
|
2010-03-18 14:45:39 -04:00
|
|
|
|
2010-07-02 22:21:31 -04:00
|
|
|
;; see ob-octave for matlab implementation
|
2010-03-18 14:45:39 -04:00
|
|
|
|
2010-06-11 19:02:42 -04:00
|
|
|
(provide 'ob-matlab)
|
2010-06-25 12:32:35 -04:00
|
|
|
|
2010-06-11 19:02:42 -04:00
|
|
|
;;; ob-matlab.el ends here
|