EMat: Embedded Matlab Templating

EMat class provides Ruby's ERB-like templating system in Matlab.

Download
Download

You are now following this Submission

Cite As

Kota Yamaguchi (2026). EMat: Embedded Matlab Templating (https://au.mathworks.com/matlabcentral/fileexchange/32362-emat-embedded-matlab-templating), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0

Fixed a bug that deletes the last line in a template;
Fixed a bug not escaping a '%' character in a template

Download
1.4.0

Added trim flag to suppress whitespaces;
Added workaround to suppress unnecessary syntax warning;

Download
1.3.0

Fixed incompatibility to Matlab R2010b;
Added syntax check;

Download
1.2.0

Added automatic num2str conversion in render.
Added support for direct file export.
Added newline suppression syntax.

Download
1.1.0

Added screenshot

Download
1.0.0

Download