Share MATLAB content by guiding users through uploading to GitHub, MATLAB Drive, or File Exchange, then generating "Open in MATLAB Online" URLs. Covers the full sharing workflow: choosing a platform, uploading content (automated via gh CLI for GitHub, manual for MATLAB Drive and File Exchange), and constructing the correct URL.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/16/2026
What it changes
Passed 25 of 25 test cases with the skill, and 14 of 25 without it.
Without skill56%
With skill100%
Checks it passed that the model alone missed
Sets file=/ in the query string.
Omits any branch query parameter from the URL.
Includes namespace=SHARED in the query string.
and 13 more in the full report
11 fixed14 passed either way0 still failing0 broke
Pass-rate lift
+44 pp
Tokens
+123%
Agent turns
0%
Response time
-48%
Model gemini-3.6-flashMeasured 8/16/2026v125 of 25 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 11
Prompt
My GitHub repo `math/simulation` contains a MATLAB project file `EngineSim.prj`. What query parameter should be used to launch this project in MATLAB Online?
What was checked, without and with the skill
Checked
Without skill
With skill
Uses project=EngineSim.prj in the URL parameters.
Missed
Passed
case-18 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md224 linessingle file
Sharing MATLAB Content
Share MATLAB content by uploading to GitHub, MATLAB Drive, or File Exchange, then generating "Open in MATLAB Online" URLs that let recipients open the content directly in a browser.
When to Use
User has local MATLAB files and wants to open them in MATLAB Online
User wants to share MATLAB code via a link that opens in MATLAB Online
AI agent generated MATLAB code locally and user wants to run/open it in MATLAB Online
User asks for an "Open in MATLAB Online" link, button, or badge
User has content on GitHub/MATLAB Drive/File Exchange and wants the direct-open URL
When NOT to Use
User wants to try out MATLAB code without needing to upload anywhere
User is asking about MATLAB Online features, licensing, or account setup
User wants to run MATLAB code interactively in MATLAB Online without generating a shareable link
Workflow
1. Identify the starting point
Ask what the user has:
Local files only → they need to upload first, then generate the URL
Already on GitHub → skip to URL generation (GitHub path)
Already on MATLAB Drive with a share link → skip to URL generation (Drive path)
Already on File Exchange → skip to URL generation (File Exchange path)
2. Help choose a path
If the user hasn't uploaded yet, recommend based on their goal:
Goal
Recommended Path
Why
Quick sharing or personal use
GitHub
Fully automated via CLI; works for public repos
Share with specific people (private)
MATLAB Drive
Supports access control; no public repo needed
Share with the MATLAB community
File Exchange
Discoverable by all MATLAB users; includes ratings/reviews