Hi All,

I found the problem. It was silly of me. I should do “make” in the 
“~/path/to/matlab-emacs”. Matlab-mode is working now.
However, I have one problem with matlab-shell now. Whenever I want to run 
matlab inside emacs using matlab-shell, emacs could not find the directory of 
matlab as shown in the warning message:

"Searching for program: No such file or directory, matlab”.

I have surely added matlab to my PATH. I could run matlab -nodesktop in my 
terminal but I am wondering why matlab-shell does not work.
Before I had this matlab-emacs problem, I could also run matlab-shell inside 
emacs (previous version).

Could someone help me to resolve this? I am not quite familiar with unix 
commands and system.

Thank you.

-hasan-

> On 28 Feb 2019, at 2:45 am, N Hasan <hzen...@gmail.com> wrote:
> 
> Hi All,
> 
> I am facing a problem with matlab-emacs. I have been using matlab-emacs for 
> quite a while (used the old-verstion) and love it so much. Thank you very 
> much for this awesome software, really appreciate it. Everything was fine 
> when using matlab-emacs until yesterday.
> Since yesterday I could not use matlab-mode and matlab-shell in my Emacs. I 
> am not sure what the cause of this problem as I was configuring some parts of 
> my .emacs file and also upgraded my emacs to the latest version. What can I 
> think of is probably the Emacs upgrade is the cause.
> 
> I tried to install matlab-emacs from the both ways: via git clone and via 
> melpa. Both did not work. Currently, I am using the git clone one. 
> It seems that the “matlab-load.el” is not automatically generated. Once I 
> executed (add-to-list 'load-path “~/user/.emacs.d/matlab-emacs”), the 
> “matlab-load.el” does not exist in the matlab-emacs directory, and hence the 
> command (load-library "matlab-load”) generates an error.
> 
> When I tried to execute another command: (matlab-cedet-setup), a warning 
> says: srecode-map-entry-for-file is already defined as something else than a 
> generic function. I do not really know what it means.
> 
> Does anyone have any hint/idea regarding this problem? I have tried to 
> investigate the problem but could not fix it until now.
> 
> Thanks.
> 
> -hasan-
> 
> 
> 



_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to