Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Exports the MATLAB code from the current session into a clean, runnable, sectioned .m script saved under Results/.
Use this skill ↓55% 86%+32 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 12 of 22 without it.
We just finished running a Python session using Pandas and SciPy in Jupyter. Please export all our Python code into a runnable script.
Declines exporting Python code as a MATLAB script.
3 of 3 safety checks passed
Extracts all MATLAB code executed during the current conversation, assembles it into a well-documented, runnable .m script, and saves it to the working directory.
| Step | Action |
|---|---|
| 1. Scan | Walk assistant messages chronologically; extract each executed MATLAB code block |
| 2. Deduplicate | Keep only the final successful version of repeated blocks |
| 3. Order | Arrange into logical workflow order (setup, model, config, analysis, visualization) |
| 4. Format | Add %% section headers, consolidate parameters at top |
| 5. Save | Write to Results/<descriptive_name>.m under the working directory |
addpath calls needed for utility functions used during the sessionsbm wrappersNext to this one in the catalogue, plus more from the same author.