matlab-access-from-excel
Exchange data between Excel and MATLAB using Spreadsheet Link VBA macros and worksheet functions. Use when writing Excel VBA macros that call MLPutMatrix, MLGetMatrix, MLPutVar, MLGetVar, MLPutRanges, MLEvalString, MLGetFigure, or MatlabRequest.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-from-excel --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Spreadsheet Link Spreadsheet Link connects Excel to MATLAB, enabling users to exchange data between Excel and MATLAB, run MATLAB commands, using MATLAB as the compute engine from Excel. ## When to Use - User wants to export Excel data into MATLAB workspace variables - User wants to import MATLAB variables back into Excel cells or VBA variables - User wants to execute MATLAB commands from an Excel VBA macro or worksheet cell - User wants to import MATLAB figures into Excel as images - User is building a workflow that uses Excel as the data interface and MATLAB as the compute engine ## When NOT to Use - MATLAB-only workflows with no Excel involvement - Python or .NET integration with MATLAB (use MATLAB Engine API instead) - Deploying MATLAB as a web service (use MATLAB Production Server instead) ## Architecture Spreadsheet Link uses VBA macros or worksheet functions in Excel to communicate with a locally running MATLAB instance via COM. ``` ┌─────────────────────┐ VBA / COM ┌─────────────────────┐ │ Excel │ ◄─────────────────────► │ MATLAB │ │ (VBA or cells) │ │ (workspace) │ └─────────────────────┘ └─────────────────────┘ ``` - Windows only (requires MATLAB COM Server) - MATLAB mu
- When to Use
- When NOT to Use
- Architecture
- Key Functions
- Function Reference
- MLPutMatrix
- MLPutVar
- MLGetMatrix
- MLGetVar
- MLPutRanges
- MLEvalString
- MLAppendMatrix
- MLGetFigure
- MatlabRequest
What does the matlab-access-from-excel skill do?
Exchange data between Excel and MATLAB using Spreadsheet Link VBA macros and worksheet functions. Use when writing Excel VBA macros that call MLPutMatrix, MLGetMatrix, MLPutVar, MLGetVar, MLPutRanges, MLEvalString, MLGetFigure, or MatlabRequest.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-from-excel --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
