2015-10-26 00:56:00 +00:00
|
|
|
;;; ob-matlab.el --- Babel support for Matlab -*- lexical-binding: t; -*-
|
2010-03-18 18:45:39 +00:00
|
|
|
|
2024-01-02 01:47:10 +00:00
|
|
|
;; Copyright (C) 2010-2024 Free Software Foundation, Inc.
|
2010-03-18 18:45:39 +00:00
|
|
|
|
|
|
|
;; Author: Dan Davison
|
|
|
|
;; Keywords: literate programming, reproducible research
|
2021-09-26 07:44:29 +00:00
|
|
|
;; URL: https://orgmode.org
|
2010-03-18 18:45:39 +00:00
|
|
|
|
2010-06-25 16:32:35 +00:00
|
|
|
;; This file is part of GNU Emacs.
|
2010-03-18 18:45:39 +00:00
|
|
|
|
2010-06-25 16:32:35 +00:00
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
2010-03-18 18:45:39 +00:00
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2010-06-25 16:32:35 +00: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 18:45:39 +00: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 16:32:35 +00:00
|
|
|
|
2010-03-18 18:45:39 +00:00
|
|
|
;; You should have received a copy of the GNU General Public License
|
2017-09-13 22:52:52 +00:00
|
|
|
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
2010-03-18 18:45:39 +00: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 09:17:51 +00:00
|
|
|
;; https://matlab-emacs.sourceforge.net/
|
2010-03-18 18:45:39 +00:00
|
|
|
|
|
|
|
;;; Code:
|
2022-08-04 13:53:05 +00:00
|
|
|
|
|
|
|
(require 'org-macs)
|
|
|
|
(org-assert-version)
|
|
|
|
|
2010-07-03 02:21:31 +00:00
|
|
|
(require 'ob)
|
2010-06-11 23:02:42 +00:00
|
|
|
(require 'ob-octave)
|
2010-03-18 18:45:39 +00:00
|
|
|
|
2010-07-03 02:21:31 +00:00
|
|
|
;; see ob-octave for matlab implementation
|
2010-03-18 18:45:39 +00:00
|
|
|
|
2010-06-11 23:02:42 +00:00
|
|
|
(provide 'ob-matlab)
|
2010-06-25 16:32:35 +00:00
|
|
|
|
2010-06-11 23:02:42 +00:00
|
|
|
;;; ob-matlab.el ends here
|