forked from mirrors/org-mode
; Add 2024 to copyright years 8e1c56ae46754dd7baedff49a464f078f0e9912d Po Lu Tue Jan 2 09:47:10 2024 +0800
50 lines
1.4 KiB
EmacsLisp
50 lines
1.4 KiB
EmacsLisp
;;; ob-matlab.el --- Babel support for Matlab -*- lexical-binding: t; -*-
|
|
|
|
;; Copyright (C) 2010-2024 Free Software Foundation, Inc.
|
|
|
|
;; Author: Dan Davison
|
|
;; Keywords: literate programming, reproducible research
|
|
;; URL: https://orgmode.org
|
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
|
;; it under the terms of the GNU General Public License as published by
|
|
;; 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,
|
|
;; 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.
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
;;; 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
|
|
;; https://matlab-emacs.sourceforge.net/
|
|
|
|
;;; Code:
|
|
|
|
(require 'org-macs)
|
|
(org-assert-version)
|
|
|
|
(require 'ob)
|
|
(require 'ob-octave)
|
|
|
|
;; see ob-octave for matlab implementation
|
|
|
|
(provide 'ob-matlab)
|
|
|
|
;;; ob-matlab.el ends here
|