From: Torben K. <tk...@es...> - 2015-04-23 07:27:11
|
Strange matlab-mode problem I am one of the happy matlab-mode users. However, I have a number of problems but the first one is the only serious one. I am using: matlab-mode, version 3.3.1 Problem 1. When I edit a m file in matlab-mode then some times it seems that emacs gets stuck and then after a long time or when I press ctrl-g it outputs in the shell frame some thing like >> which aero_guid_plot /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_guid_plot.m >> >> which axistext /usr/local/MATLAB/R2014a/toolbox/matlab/graph2d/@axistext/axistext.m % axistext constructor >> >> which aero_atcscript /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_atcscript.m >> >> which addrunf /usr/local/MATLAB/R2014a/toolbox/robust/rctobsolete/mutools/subs/addrunf.m >> >> which asec built-in (/usr/local/MATLAB/R2014a/toolbox/matlab/elfun/@double/asec) % double method >> In the above case I think the cursor was at or in front of an 'a' and then it seems matlab is used to search for functions starting with 'a' which takes a long time and is very annoying. How can I stop this? Problem 2. I can not make the function 'matlab-shell-last-error' work properly. I tried to change it a bit to the below which also does not work to well. (defun tk-goto-matlab-error () "Goto last matlab error above" (interactive) (search-backward "error") (matlab-shell-html-go)) Problem/question 3 When I checked *Message* to see the matlab-mode version it also had 'Sorry, your emacs cannot use the MATLAB Shell GUD features.' What does that mean? Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk...@es... Aalborg University Web : es.aau.dk/staff/tk Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark |