   (add-hook 'comint-mode-hook 'company-mode)
   (add-hook 'LaTeX-mode-hook 'company-mode)
   (add-hook 'sh-mode-hook 'company-mode)
+  (add-hook 'matlab-mode-hook 'company-mode)
   ;;(add-hook 'sh-mode-hook 'company-mode)
   (add-hook 'python-mode-hook 'company-mode)
   :config

  (so-long-enable))

;; MATLAB integration
;; To install, run in ~/.emacs.d/
;;   git clone https://github.com/yuhonglin/matlab-mode
(use-package matlab-mode
  :load-path "matlab-mode/"
  :config
  (set 'default-fill-column 80)
  (setq matlab-server-executable "/usr/local/MATLAB/R2017a/bin/matlab")
  (require 'matlab-mode)
  (matlab-mode-common-setup)
  )

;;;;;;;;;;;;;;;;; PERSONAL PACKAGES


 '(ecb-options-version "2.50")
 '(fci-rule-color "#383838")
 '(matlab-shell-command-switches (quote ("-nodesktop -nosplash")))
 '(matlab-show-mlint-warnings t)
 '(mlint-programs (quote ("/usr/local/MATLAB/R2018b/bin/glnxa64/mlint")))
 '(nrepl-message-colors
   (quote
    ("#CC9393" "#DFAF8F" "#F0DFAF" "#7F9F7F" "#BFEBBF" "#93E0E3" "#94BFF3" "#DC8CC3")))
