Correct the matlab path

This commit is contained in:
Thomas Dehaeze 2020-04-07 16:18:50 +02:00
parent 3a2eee2625
commit e5c1aa4607

View File

@ -125,7 +125,7 @@ Make movement keys work like they should
Make horizontal movement cross lines
#+begin_src emacs-lisp
(setq-default evil-cross-lines t)
(setq-default evil-cross-lines t)
#+end_src
* Which Key
@ -1924,7 +1924,7 @@ Add all named source blocks to =org-babel-library-of-babel=.
** Org-Babel Matlab
#+begin_src emacs-lisp
(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
"%s
@ -2415,14 +2415,14 @@ Map Functions
** Setup Matlab Mode
#+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 mlint-programs '("mlint" "/home/thomas/bin/mlint"))
(setq mlint-programs '("mlint" "/home/thomas/.local/bin/mlint"))
#+end_src
** Setup Flycheck
#+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
"A Matlab checker based on mlint."