# matlab-debug > MATLAB debugging skill for running and testing MATLAB scripts with automatic error capture and toolbox detection - Author: Zach Zeisler - Repository: doublezz10/opencode_matlab_skill - Version: 20260126140513 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/doublezz10/opencode_matlab_skill - Web: https://mule.run/skillshub/@@doublezz10/opencode_matlab_skill~matlab-debug:20260126140513 --- --- name: matlab-debug description: MATLAB debugging skill for running and testing MATLAB scripts with automatic error capture and toolbox detection --- ## What I do I provide a debugging interface for MATLAB scripts across all domains. I help you: - **Run MATLAB scripts** - Execute .m files with full error capture - **Debug errors immediately** - Capture and structure MATLAB errors for OpenCode to fix - **Validate syntax** - Quick syntax checking without full execution - **Capture outputs** - Get console output, warnings, and figure information - **Toolbox verification** - Check required toolboxes before execution ## How to use me ### Quick Debug Commands ```bash # Run a MATLAB script with full error capture .opencode/skill/matlab-debug/scripts/matlab-cli.sh run path/to/script.m # Quick syntax check (no execution) .opencode/skill/matlab-debug/scripts/matlab-cli.sh check path/to/script.m # Run with workspace preservation for debugging .opencode/skill/matlab-debug/scripts/matlab-cli.sh debug path/to/script.m # Check required toolboxes for neural analysis npx ts-node .opencode/skill/matlab-debug/scripts/matlab-cli.ts toolboxes ``` ### Command Reference | Command | Description | |---------|-------------| | `run [--show-figures]