Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-use-cameras
Connect to and acquire images from cameras in MATLAB using Image Acquisition Toolbox.
Passed 21 of 22 test cases with the skill, and 17 of 22 without it.
and 2 more in the full report
4 fixed17 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a MATLAB script running on Linux that queries video capture hardware using Image Acquisition Toolbox, opens device index 1, sets returned color space to RGB, and previews the live video feed.
| Checked | Without skill | With skill |
|---|---|---|
| Uses the linuxvideo adaptor in videoinput. | Missed | Passed |
| Uses imaqhwinfo to query video capture devices. | Passed | Passed |
The instructions your model reads when the skill loads.
Use Image Acquisition Toolbox's videoinput as the primary interface for all camera workflows. Other interfaces (webcam, gigecam) are secondary and should only be used when explicitly requested or when videoinput is unavailable.
webcam() from the webcam support packagevideoinput is not available — use webcam())These rules are critical. Follow them unless the user explicitly requests otherwise.
videoinput() from Image Acquisition Toolbox as the primary camera interfaceimaqhwinfo for device enumeration — not webcamlist or gigecamlistvideoinput("gentl", ...) — not gigecam or videoinput("gige")videoinput("winvideo", ...)videoinput("macvideo", ...)videoinput("linuxvideo", ...)videoinput("gentl", ...) — CoaXPress frame grabbers always provide GenTL producersvideoinput("gentl", ...) if the frame grabber provides a GenTL producer; otherwise use the vendor-specific adaptor (e.g., videoinput("ni", ...), videoinput("dalsa", ...))videoinput as "legacy" or "advanced" — it is the primary, full-featured interfacewebcam() insteadtest cases passed, vs 17 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.