matlab-connect-arduino
Skill by matlab
Guides an AI assistant through finding, selecting, and connecting to Arduino boards from MATLAB using the Arduino Support Package. Intended for users setting up Arduino hardware or running tasks that need a board connection.
Install matlab-connect-arduino
Built from the published package, never by AI.
git clone --depth 1 https://github.com/matlab/matlab-agentic-toolkit /tmp/matlab-agentic-toolkit && mkdir -p ~/.claude/skills && cp -r /tmp/matlab-agentic-toolkit/skills-catalog/test-and-measurement/matlab-connect-arduino ~/.claude/skills/matlab-connect-arduinoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/matlab/matlab-agentic-toolkit /tmp/matlab-agentic-toolkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/matlab-agentic-toolkit/skills-catalog/test-and-measurement/matlab-connect-arduino ~/.gemini/antigravity-cli/skills/matlab-connect-arduinoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install matlab-connect-arduino in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks an AI assistant through connecting MATLAB to an Arduino board over USB. It runs board discovery with arduinolist and serialportlist, helps the user identify which serial port belongs to the board, and asks the user to choose the port and board type. It then adds libraries to the default set of I2C, SPI, and Servo, based on terms in the user's request, and builds the arduino() connection call. If discovery or connection fails, the skill gives troubleshooting steps and stops until the user responds. It is intended for MATLAB users who need to set up Arduino hardware or run tasks such as reading sensors or controlling pins that depend on a board connection. The skill is published by MathWorks under a license linked in the source.
Written from the project's SKILL.md and checked against it.
What it can do
- Board discoveryRuns arduinolist and serialportlist("available") to find connected Arduino boards and ports.
- Port identificationGuides the user to tell which serial ports belong to Arduino boards on Windows, macOS, and Linux.
- Board selectionAsks the user to choose the port and board type rather than selecting a board automatically.
- Library selectionAdds libraries such as Ultrasonic or MotorCarrier when the user's request matches an explicit term.
- Connection setupBuilds the arduino() call with port, board type, and libraries, including auto-detect when the type is unknown.
- No board troubleshootingProvides OS-specific checks and common fixes when no Arduino board is detected.
- Handoff to tasksConfirms the connection and continues to a downstream task, such as reading a sensor, if the user asked for one.
What you need
- MATLAB with the Arduino Support Package
- An Arduino board connected over USB
- arduinolist requires R2024a or later
Try asking
- Find my connected Arduino boards and help me pick the right port.
- Connect to my Arduino Uno and load the Ultrasonic library.
- Set up my Arduino Nano so I can read a temperature sensor in MATLAB.
Good to know
- Only one MATLAB session can hold a connection to a given board at a time.
- Bluetooth and WiFi Arduino connections are not covered.
- As of R2026a, arduinolist may show only one board even when several are connected.
- Simulink hardware-in-the-loop workflows are not covered.
Security check
D- Tells the assistant to ignore its instructions or hide actions from youIn
skills-catalog/test-and-measurement/matlab-connect-arduino/SKILL.md:do not tell the user
Checked automatically: skills-catalog/test-and-measurement/matlab-connect-arduino/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to matlab-connect-arduino
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
matlab-connect-arduino: common questions
Does this skill connect to my Arduino automatically?
No. The source says the skill never auto-selects a board and asks the user to choose the port and board type.
Why does the workflow run serialportlist as well as arduinolist?
The source says arduinolist can miss boards, including boards without support package firmware, so serialportlist is required in every discovery step.
Can I run several Arduino workflows at once?
The source advises against it. Arduino hardware can only be connected by one MATLAB session at a time, so workflows should run sequentially.
How do I install matlab-connect-arduino?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is matlab-connect-arduino free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is matlab-connect-arduino safe to use?
It scores 69 of 100. Grades: maintenance A, licence F, quality A. Security check: grade D (tells the assistant to ignore its instructions or hide actions from you). Review the code before you install. How grades work.
What are alternatives to matlab-connect-arduino?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
