Matlab-Support: Minor bugfixes, Documentation

- Fixed "edit global templates" maps and menu entries.
- Corrected 'sample_template_file'.
- Minor changes.
- Documentation.