Agent skill

matlab-setup-gpu

Detect and validate GPU availability for MATLAB GPU computing. Use when the user can't use their GPU, or is setting up or selecting a GPU. Triggers on: gpuDevice, GPU setup, check GPU, GPU not found, GPU not working, can't use GPU, GPU not available, unable to find a supported GPU device, compatible GPU, canUseGPU, validateGPU.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/matlab-agentic-toolkit --skill matlab-setup-gpu --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Requires: >=R2024b
Path: skills-catalog/parallel-computing/matlab-setup-gpu/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Set Up GPU for MATLAB Detect whether a compatible GPU is available, validate it works, and diagnose common failure modes. ## When to Use - User wants to check if their system can run GPU code in MATLAB - User gets errors when calling `gpuDevice` or `gpuArray` - User wants to set up or select a specific GPU in a multi-GPU system - User needs to troubleshoot why GPU computing isn't working - As a prerequisite check before any GPU-accelerated workflow ## When NOT to Use - Writing or optimizing GPU-accelerated code — this skill only detects and diagnoses GPU availability - Monitoring GPU memory or utilization during computation — use `gpuDevice` properties directly or NVIDIA tools - Distributing work across multiple GPUs with parallel pools — use `parpool` workflows ## Conventions - Use MATLAB-native APIs (`canUseGPU`, `gpuDeviceTable`, `gpuDevice`) for detection and properties — reserve `nvidia-smi` for information MATLAB cannot provide - Prefer `canUseGPU` over `gpuDeviceCount == 0` or `isempty(gpuDeviceTable)` for availability checks — `canUseGPU` also verifies licensing and toolbox state - If recommending a driver update, fetch the **GPU Computing Requirements** documentation pag

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Conventions
  4. Workflow
  5. 1. Is a GPU available?
  6. 2. If canUseGPU returns false — diagnose
  7. 3. List available devices
  8. 4. Select device and query properties
  9. 5. Check driver model (Windows only)
  10. 6. Benchmark GPU performance (optional)
  11. Troubleshooting
  12. Key Functions
Ships with 1 file
  • manifest.yaml
More from matlab-agentic-toolkit
All skills →
About this skill
What does the matlab-setup-gpu skill do?

Detect and validate GPU availability for MATLAB GPU computing. Use when the user can't use their GPU, or is setting up or selecting a GPU. Triggers on: gpuDevice, GPU setup, check GPU, GPU not found, GPU not working, can't use GPU, GPU not available, unable to find a supported GPU device, compatible GPU, canUseGPU, validateGPU.

How do I install it?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-setup-gpu --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.

Keep going