matlab-connect-arduino
Discover, configure, and connect to Arduino boards from MATLAB using the Arduino Support Package. Use this skill when the user wants to set up an Arduino board, connect to Arduino hardware, find connected boards, scan serial ports, configure Arduino libraries, or any task that requires an Arduino connection as a prerequisite (e.g., blink LED, read sensor, read digital pin, read analog pin, write pin, plot sensor data, scan I2C, use ultrasonic sensor, control servo, read temperature, read voltage, data logging from hardware). Triggers on: arduino, board setup, COM port, serial port, hardware co
npx skills add matlab/matlab-agentic-toolkit --skill matlab-connect-arduino --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.
# Set Up Arduino Board in MATLAB Guides the agent through discovering, configuring, and connecting to Arduino boards via USB, ensuring the user is informed and in control at each step. ## When to Use - User wants to connect to an Arduino board from MATLAB - User asks to discover or list connected Arduino boards - User's task requires an Arduino connection as a prerequisite (reading sensors, controlling actuators, scanning I2C, etc.) - User mentions Arduino, COM port, serial port, or hardware setup ## When NOT to Use - Creating custom addon libraries for unsupported peripherals (see `matlab-create-custom-arduino-library`) - Bluetooth or WiFi Arduino connections (not covered here) - Arduino IDE or support package installation issues - Simulink hardware-in-the-loop workflows - Tasks that already have an active `arduino` object in the workspace ## Workflow Follow these steps in order. **Do not skip steps or guess values.** **Core principle:** Never assume. Always ask the user before proceeding if any information is unclear or ambiguous. ### Step 1: Discover boards **Always run both commands** — do not skip `serialportlist` even if `arduinolist` already found the board. This is a hard r
- When to Use
- When NOT to Use
- Workflow
- Step 1: Discover boards
- Step 1b: Handle "no board detected"
- Step 2: Help user identify ports
- Step 3: Ask the user to select board
- Step 4: Determine libraries
- Step 5: Connect
- Step 6: Confirm and hand off
- Key Functions
- Patterns
- Single board connection
- Multi-board connection
What does the matlab-connect-arduino skill do?
Discover, configure, and connect to Arduino boards from MATLAB using the Arduino Support Package. Use this skill when the user wants to set up an Arduino board, connect to Arduino hardware, find connected boards, scan serial ports, configure Arduino libraries, or any task that requires an Arduino connection as a prerequisite (e.g., blink LED, read sensor, read digital pin, read analog pin, write pin, plot sensor data, scan I2C, use ultrasonic sensor, control servo, read temperature, read voltage, data logging from hardware). Triggers on: arduino, board setup, COM port, serial port, hardware co
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-connect-arduino --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.
