Correct the matlab path
This commit is contained in:
parent
3a2eee2625
commit
e5c1aa4607
@ -1924,7 +1924,7 @@ Add all named source blocks to =org-babel-library-of-babel=.
|
|||||||
** Org-Babel Matlab
|
** Org-Babel Matlab
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-babel-matlab-shell-command "/home/thomas/bin/matlab -nodesktop -nosplash")
|
(setq org-babel-matlab-shell-command "/home/thomas/.local/bin/matlab -nodesktop -nosplash")
|
||||||
|
|
||||||
(setq org-babel-matlab-emacs-link-wrapper-method
|
(setq org-babel-matlab-emacs-link-wrapper-method
|
||||||
"%s
|
"%s
|
||||||
@ -2415,14 +2415,14 @@ Map Functions
|
|||||||
|
|
||||||
** Setup Matlab Mode
|
** Setup Matlab Mode
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq matlab-shell-command "/home/thomas/bin/matlab")
|
(setq matlab-shell-command "/home/thomas/.local/bin/matlab")
|
||||||
(setq matlab-shell-command-switches (list "-nodesktop -nosplash"))
|
(setq matlab-shell-command-switches (list "-nodesktop -nosplash"))
|
||||||
(setq mlint-programs '("mlint" "/home/thomas/bin/mlint"))
|
(setq mlint-programs '("mlint" "/home/thomas/.local/bin/mlint"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Setup Flycheck
|
** Setup Flycheck
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defvar mlint-executable "/home/thomas/bin/mlint")
|
(defvar mlint-executable "/home/thomas/.local/bin/mlint")
|
||||||
|
|
||||||
(flycheck-define-command-checker 'matlab-mlint
|
(flycheck-define-command-checker 'matlab-mlint
|
||||||
"A Matlab checker based on mlint."
|
"A Matlab checker based on mlint."
|
||||||
|
Loading…
Reference in New Issue
Block a user