matlab-export-session-script

Official

Export session MATLAB code to a runnable .m script

Authormatlab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents losing work and re-creating MATLAB code by transforming the MATLAB executed during a conversation into a clean, reproducible, runnable .m script.

Core Features & Use Cases

  • Conversation-to-script extraction: Scans assistant execution history in order to extract MATLAB code blocks from the session.
  • Deduplication and final-version preservation: Keeps only the final successful version of repeated blocks so the script is actually runnable.
  • Script assembly with MATLAB-friendly structure: Produces a well-documented script with %% section headers, consolidated parameters, and appropriate cleanup for interactive use.
  • Use Case: After running an RF/mixed-signal workflow (e.g., designing a filter, computing S-parameters, and plotting results), export the session to a single MATLAB file that a user can run later with minimal edits.

Quick Start

Ask: Export this session as a script in MATLAB so you save the runnable code to the Results/ folder with logical %% sections and consolidated parameters at the top.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: matlab-export-session-script
Download link: https://github.com/matlab/matlab-agentic-toolkit/archive/main.zip#matlab-export-session-script

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.