Skip to content

matlab/matlab-agentic-toolkit / skills-catalog/test-and-measurement/matlab-discover-hardware

matlab-discover-hardware

Unverified

Discovers connected MATLAB-supported hardware devices, searches by capability, and checks required support packages and add-ons. Use when the user asks what hardware is connected, finds a device that supports a capability (e.g., CAN, analog input), or checks if required support packages or add-ons are installed. Does NOT connect to, configure, or acquire data from devices — defers to device-specific skills for usage workflows.

scripts/listHardwareDevices.m

View on GitHub
function deviceInfo = listHardwareDevices(options)
% listHardwareDevices List hardware devices connected to this computer (or all supported devices).
%   DEVICEINFO = listHardwareDevices() returns a table of connected hardware
%   devices discovered through all Hardware plugins.
%
%   DEVICEINFO = listHardwareDevices(Mode="All") returns all supported devices,
%   including those not currently connected.
%
%   DEVICEINFO = listHardwareDevices(Plugin="DAQPlugin") queries only the
%   specified plugin (~2s instead of full sweep ~20s).
%
%   DEVICEINFO = listHardwareDevices(Capability="analog input") filters results
%   to devices matching the capability keyword (case-insensitive).
%
%   DEVICEINFO = listHardwareDevices(Refresh=true) forces re-enumeration,
%   ignoring cached results.
%
%   The returned table contains the following columns:
%       FriendlyName   - User-visible device name
%       VendorName     - Device vendor
%       ConnectionInfo - Connection type (USB, Serial, Ethernet, etc.)
%       IsConnected    - Whether device is currently connected
%
%   Examples:
%       % List connected devices
%       devices = listHardwareDevices()
%
%       % List all supported devices from a specific plugin
%       devices = listHardwareDevices(Mode="All", Plugin="DAQPlugin")
%
%       % Search for devices with a specific capability
%       devices = listHardwareDevices(Capability="analog input")
%
%       % Force re-enumeration
%       devices = listHardwareDevices(Refresh=true)
%
%   See also getDeviceDetails, hardwareDeviceCache

%   Copyright 2026 The MathWorks, Inc.

    arguments
        options.Mode (1, 1) string {mustBeMember(options.Mode, ["Connected", "All"])} = "Connected"
        options.Plugin (1, 1) string = ""
        options.Capability (1, 1) string = ""
        options.Refresh (1, 1) logical = false
    end

end
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 469kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 321kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 321kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 321kUpdated Claude CodeCodexVerifiedInstall