Correct the matlab path
This commit is contained in:
parent
fda687da7f
commit
80690ed480
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user