title: matlab script editing
body: <p>I would like to edit matlab scripts in two cases</p>
  
  <p>(1) In matlab Command window running in a linux terminal, how to create and edit a script file? use</p>
  
  <pre><code>edit(filename)
  </code></pre>
  
  <p>will invoke the interactive editor, which is not desired while operating on a linux server.</p>
  
  <p>(2) In emacs, is there any way to edit matlab script conveniently? Which is better, using MATLAB-Emacs or EmacsLink?</p>
  
  <p>when I am trying to cvs checkout MATLAB-Emacs from <a href="http://sourceforge.net/scm/?type=cvs&amp;group_id=154105" rel="nofollow noreferrer">http://sourceforge.net/scm/?type=cvs&amp;group_id=154105</a>, which modulename should I specify?</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>EDIT:</p>
  
  <p>When installing MATLAB-emacs, there is some problem. I thought my CEDET is installed here:</p>
  
  <pre><code>/usr/share/emacs22/site-lisp/cedet-common   
  /usr/share/emacs22/site-lisp/cedet-contrib  
  </code></pre>
  
  <p>My CEDET is of version 1:1.0pre4-3 （intrepid) on Ubuntu. So I type the command:</p>
  
  <pre><code>$ make "LOADPATH=/usr/share/doc/cedet-common /usr/share/doc/cedet-contrib"    
   for loadpath in . /usr/share/doc/cedet-common /usr/share/doc/cedet-contrib; do \    
         echo "(add-to-list 'load-path \"$loadpath\")" &gt;&gt; autoloads-compile-script; \    
      done;    
   "emacs" -batch --no-site-file -l autoloads-compile-script -f cedet-batch-update-autoloads matlab-load.el .    
   Generatim autoloads for cedet-matlab.el...    
   Generatim autoloads for cedet-matlab.el...done    
   Generatim autoloads for matlab.el...    
   Generatim autoloads for matlab.el...done    
   Generatim autoloads for mlint.el...    
   Generatim autoloads for mlint.el...done    
   Generatim autoloads for semantic-matlab.el...    
   Generatim autoloads for semantic-matlab.el...done    
   Generatim autoloads for tlc.el...    
   Generatim autoloads for tlc.el...done    
   Generatim autoloads for semanticdb-matlab.el...    
   Generatim autoloads for semanticdb-matlab.el...done    
   Updatim header...    
   Updatim header...done    
   Wrote /home/tim/.emacs.d/matlab-emacs/matlab-load.el    
   make: *** No rule to make target `matlab-publish.el', needed by `lisp'.  Stop.    
  </code></pre>
  
  <p>What's wrong? Thanks!</p>