Table of Contents
MATE is the internal text editor for MeVisLab. It currently supports the three programming languages MDL, Python, and JavaScript, offering auto completion (with a list of suggestions), context-sensitive specific help, syntax highlighting and indentation.
MATE also offers direct access to a module's panel and automatic panel, and related files via the Module menu.
For quick scripting, a scripting console is available.
The following file types are supported:
MDL files, namely
.dat (MeVisLab license files written in MDL)
.def (MeVisLab module definition)
.mhelp (MeVisLab module help file, see Section 22.9, “MATE as Module Help Editor”)
.mlab (MeVisLab network)
.prefs (MeVisLab preferences file, for packages or other purposes)
.script (MeVisLab MDL script)
.py (Python)
.js (JavaScript)
Open MATE via File → Show Integrated Text Editor (to start it without files) or File → Open File in Integrated Text Editor (to start it with a file dialog for selecting a file).
MATE is also used as editor for source code by default (can be changed in the Preferences, see Section 4.3.4, “Preferences — Supportive Programs”). For example
for Related Files in the context menu of a module, when selecting one of the possibly available .def, .script, .py, or .js files.
when clicking a link to a license .dat file or a module .def file in the Debug Output of MeVisLab.
By default, MATE runs in a process separate from MeVisLab. This especially allows using it for Python debugging, see Section 22.8, “MATE as Python Debugger”. The setting for separate processes can be changed, see Section 4.3.4, “Preferences — Supportive Programs”.
© 2011 MeVis Medical Solutions AG