I am trying to use the matlab-mode package with use-package.
(use-package matlab-mode :ensure t :config (add-to-list 'auto-mode-alist '("\\.m\\'" . matlab-mode)) (setq matlab-indent-function t) (setq matlab-shell-command "matlab"))
This seems to work - the package is downloaded and installed if necessary, the mode is automatically enabled in
.m files, but everytime I launch Emacs I get the warning
Error (use-package): Cannot load matlab-mode. Can anybody tell me why this happens?