Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates, edits, and runs plain-text MATLAB live scripts (.m) with formatting, LaTeX equations, and inline figures, and converts .mlx files.
41% 95%+55 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 9 of 22 without it.
Draft a text paragraph inside a live script `notation_guide.m` explaining that array element 1. #1 uses asterisks * and underscores _ as literal text.
Literal markdown special characters like `*`, `_`, `#` at line start, and `.` after digits are escaped with backslashes
3 of 3 safety checks passed
Plain-text .m files that render as rich documents in the MATLAB Live Editor. Version-control friendly — never use binary .mlx.
.m, not binary .mlx).mlx file to plain-text .m.mlxTo convert a binary .mlx file to a plain-text .m live script, run the following at the MATLAB Command Window. The recipe is not part of the resulting .m file:
editor = matlab.desktop.editor.openDocument(mlxPath, Visible=0);
editor.saveAs(newMPath); % use .m extension
editor.closeNoPrompt;
%[text] — NOT bare %%[text] line — do not hard-wrap; let the Live Editor handle line width%[text] lines — they render as unwanted blank space%% on its own line, then %[text] ## Title on next line%[appendix]figure command — implicit figure creation onlyclose all or clearmfilename — does not work as intended in live scripts. Hardcode filenames or use pwd.*, _, [, ], `, \. Also escape . after a digit and # at line start.$ inline form only: $ a = \\pi r^2 $ (no $$ ... $$). For a centered/display equation, wrap the line: %[text]{"align":"center"} $ X(k) = \\sum\_{n=0}^{N-1} x(n) e^{-j2\\pi kn/N} $Next to this one in the catalogue, plus more from the same author.