11/18/2013

Fix a Function matlab-shell-run-cell in Matlab-Emacs

Since the official site of Matlab-Emacs doesn't provide valid download links.


I clone the code from: https://github.com/ruediger/matlab-emacs

Original matlab-shell-run-cell () cannot correctly recognize cells split by "%%".

This is original code of matlab-shell-run-cell ():
Loading ....


This is the fixed code:
Loading ....

Suppose you already got the Matlab-Emacs code.

You just need to:
  1. Open matlab.el
  2. Find the function matlab-shell-run-cell ()
  3. Del or comment all content of this function
  4. Paste my code to the same position.
And enjoy it.

For those who cannot see the code snippets, please visit this link:
https://gist.github.com/xcv58/7534683

xcv58