matlab-discover-hardware

Discovers connected MATLAB-supported hardware devices and checks required support package installation state.

995|122|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-discover-hardware
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-discover-hardware
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/test-and-measurement/matlab-discover-hardware
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-discover-hardware

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Engineers often do not know which hardware devices are connected to their machine, which devices support a needed capability like CAN or analog input, or whether the required MATLAB support packages are installed. This Skill answers those discovery questions through MATLAB helper functions without manual toolbox exploration.

Core Features & Use Cases

  • Device Enumeration: List all connected MATLAB-supported hardware devices or search devices by capability keyword such as CAN or analog input.
  • Device Details: Inspect a specific device's capabilities, connection info, transport properties, and hardware identifiers like serial numbers and VID/PID.
  • Install-State Checks: Verify whether required support packages and add-ons for a device are installed, and report what is missing by human-readable name.
  • Use Case: A user asks "which of my devices can read CAN messages?" The Skill runs a capability search, lists matching devices, and confirms the required support packages are installed before handing off to a device-specific workflow.

Quick Start

Ask the agent what hardware devices are currently connected to this machine and whether their required support packages are installed.

Frequently Asked Questions about matlab-discover-hardware

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list connected hardware devices in MATLAB?

Use the listHardwareDevices helper to enumerate all connected MATLAB-supported devices. You can also pass a Capability keyword, such as CAN or analog input, to filter devices that support a specific function.

How do I check if a MATLAB support package is installed for my device?

Call getDeviceSetupInfo with the device name to see required packages and their install state, or use isRequiredAddOnsInstalled for a simple true/false check. Missing packages are reported by human-readable name.

Can this skill acquire data or configure my hardware device?

No. This skill handles discovery only: listing devices, searching by capability, and checking install state. Connecting, configuring, or acquiring data is deferred to device-specific skills when available.

What MATLAB version is required for hardware discovery?

The skill requires MATLAB R2022a or later and the evaluate_matlab_code tool provided by the MATLAB MCP Server. The bundled scripts folder must be added to the MATLAB path once per session.

What happens when multiple devices share the same name?

The skill presents a numbered list of matching devices with distinguishing attributes such as Device ID or connection info, then waits for you to choose before fetching details. It never silently shows details for all matches.