Agent skill · Workflow & Productivity

matlab-call-nidaqmx

Translate NI-DAQmx C function signatures into correct calldaqlib MATLAB calls. Use when the user mentions calldaqlib, any DAQmx* C function name (DAQmxCfgSampClkTiming, DAQmxExportSignal, DAQmxSetStartTrigRetriggerable, DAQmxGetSampClkRate, etc.), or needs NI-DAQmx functionality not exposed by the daq object. Covers: projection rules (taskHandle implicit, output pointers become return values, buffer-size args, enum-as-string), multi-task semantics, start() clobber, device-level empty-daq workaround, dictionary returns, string getter placeholder, array getter placeholder. Trigger contexts: low-

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

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

Facts
Files in the skill folder: 5
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Requires: >=R2026a
Path: skills-catalog/test-and-measurement/matlab-call-nidaqmx/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

# matlab-call-nidaqmx Translate NI-DAQmx C signatures into correct `calldaqlib` MATLAB calls on Data Acquisition Toolbox R2026a+. ## When to Use - User explicitly mentions `calldaqlib` or a specific `DAQmx*` C function - User needs NI-DAQmx capability the daq object doesn't expose (retriggerable, export signal, reference triggers, enhanced alias rejection, digital filters) - User is debugging at the driver level (reading back what the NI driver holds) - User is translating existing C/LabVIEW code to MATLAB ## When NOT to Use - User describes a capability achievable with the daq object alone (`dq.Rate`, `addtrigger`, `addclock`, `addinput`, `read`, `write`, `start`, `stop`) - User asks about the Session-based (legacy) DAQ interface - User needs `DAQmxCreateTask` or `DAQmxLoadTask` (these cannot work through calldaqlib — it owns task creation internally) ## Decision Tree ### Step 0 — Read the user's intent Did the user explicitly mention `calldaqlib` or a specific DAQmx C function? - **Yes** — Write the calldaqlib call they asked for. Do NOT redirect to the daq object. They have a reason (driver debugging, matching C code, capability gap, learning). Skip to Step 2. - **No** — They de

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Decision Tree
  4. Step 0 — Read the user's intent
  5. Step 1 — Pick the right tool
  6. Step 2 — Device-level check
  7. Step 3 — Multi-task check
  8. Step 4 — Buffer placeholder check
  9. Step 5 — Enum check
  10. Call Forms
  11. 1. Config (DAQmxCfg)
  12. 2. Setter (DAQmxSet)
  13. 3. Getter — scalar (DAQmxGet returning numeric)
  14. 4. Getter — string (DAQmxGet with char output)
Ships with 4 files
  • manifest.yaml
  • references/common-mistakes.md
  • references/enum-constants.md
  • references/hot-signatures.md
More from matlab-agentic-toolkit
All skills →
About this skill
What does the matlab-call-nidaqmx skill do?

Translate NI-DAQmx C function signatures into correct calldaqlib MATLAB calls. Use when the user mentions calldaqlib, any DAQmx* C function name (DAQmxCfgSampClkTiming, DAQmxExportSignal, DAQmxSetStartTrigRetriggerable, DAQmxGetSampClkRate, etc.), or needs NI-DAQmx functionality not exposed by the daq object. Covers: projection rules (taskHandle implicit, output pointers become return values, buffer-size args, enum-as-string), multi-task semantics, start() clobber, device-level empty-daq workaround, dictionary returns, string getter placeholder, array getter placeholder. Trigger contexts: low-

How do I install it?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-call-nidaqmx --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