TDDD34 Programming with Applications in Engineering

MatLab and Emacs

Writing MatLab programs with Emacs

In order to turn on syntax highlighting and correct indentation of
MatLab code in emacs, download this .emacs file
and put it in your home directory. Your home directory is the one
called /home/andan454 for example.

Running MatLab in a terminal

The desktop program which starts up when you run matlab is a very
demanding process. You can start MatLab faster by starting matlab like this:

matlab -nodesktop -nosplash

You will only have the command window part but you will be able to run
everything just as if you were using the command window in the desktop
version.