matlab/matlab-agentic-toolkit / skills-catalog/test-and-measurement/matlab-discover-hardware
matlab-discover-hardware
UnverifiedDiscovers 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.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 19.1 KB |
| manifest.yaml | config | 419 B |
| scripts/getAddOnDetails.m | other | 1.5 KB |
| scripts/getAddOnDetails.p | binary | 783 B |
| scripts/getDeviceAddOns.m | other | 386 B |
| scripts/getDeviceAddOns.p | binary | 412 B |
| scripts/getDeviceDetails.m | other | 1.6 KB |
| scripts/getDeviceDetails.p | binary | 2.2 KB |
| scripts/getDeviceSetupInfo.m | other | 1.1 KB |
| scripts/getDeviceSetupInfo.p | binary | 1.3 KB |
| scripts/hardwareDeviceCache.m | other | 1.5 KB |
| scripts/hardwareDeviceCache.p | binary | 1.7 KB |
| scripts/isRequiredAddOnsInstalled.m | other | 1.2 KB |
| scripts/isRequiredAddOnsInstalled.p | binary | 804 B |
| scripts/listHardwareDevices.m | other | 1.8 KB |
| scripts/listHardwareDevices.p | binary | 2.2 KB |
scripts/hardwareDeviceCache.m
View on GitHubfunction result = hardwareDeviceCache(action, varargin)
% hardwareDeviceCache Shared in-memory cache for hardware device enumeration results.
% hardwareDeviceCache(ACTION, ...) manages a persistent cache of device
% enumeration results, keyed by plugin name. Used internally by all
% Layer 1 and Layer 2 discovery functions to avoid repeated full sweeps.
%
% Actions:
% hardwareDeviceCache("set", pluginName, pluginClass, pluginObj, devices)
% Store or update a cache entry for the given plugin.
%
% result = hardwareDeviceCache("get", pluginName)
% Return cached entry for a plugin. Returns [] if expired or missing.
% Use pluginName="" to return all valid entries.
%
% tf = hardwareDeviceCache("isValid", pluginName)
% Return true if the cache entry exists and is within TTL.
% Use pluginName="" to check if any entries exist.
%
% hardwareDeviceCache("clear", pluginName)
% Clear a specific plugin entry. Use pluginName="" to clear all.
%
% result = hardwareDeviceCache("all")
% Return a struct with Devices (cell array) and PluginNames (string
% array) aggregated across all valid cache entries.
%
% result = hardwareDeviceCache("find", deviceName)
% Case-insensitive partial match on FriendlyName across all cached
% devices. Returns struct with Devices, PluginNames, and Count.
% Copyright 2026 The MathWorks, Inc.
arguments
action (1, 1) string {mustBeMember(action, ["set", "get", "isValid", "clear", "all", "find"])}
end
end
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 469k | Updated | Claude CodeCodex | Verified | Install |
| 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: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| 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 available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |