What problem does it solve?
Binary .mlx live script files are unfriendly to version control and hard for AI agents to author correctly, and the plain-text .m live script format has strict syntax rules that are easy to get wrong. This Skill encodes the exact markup rules, formatting conventions, and validation workflow needed to produce valid plain-text live scripts that render correctly in the MATLAB Live Editor.
Core Features & Use Cases
- Plain-text live script authoring: Generate .m files with %[text] markup, section breaks, LaTeX equations, tables, hyperlinks, and a required appendix that render as rich documents in the Live Editor.
- Binary .mlx conversion: Convert existing binary .mlx files to version-control-friendly plain-text .m live scripts using the MATLAB editor API.
- Validation and output embedding: Run scripts through evaluate_matlab_code, embed inline outputs with the bundled executeLiveScript script, and verify rendering via HTML export.
- Use Case: A user asks for a tutorial explaining the discrete Fourier transform with equations and plots. The Skill produces a valid .m live script with centered LaTeX equations, one plot per section, and the required appendix, ready to open in MATLAB R2025a or later.
Quick Start
Create a MATLAB live script named signal-analysis.m that explains sine and cosine waves with equations and one plot per section.