once
Version 1.0.0 (1.36 KB) by
Stefan Schuberth
detects if there is exactly one true value in an array.
detects if there is exactly one true value in an array.
Like ANY which detects one or more occurences of true.
Cite As
Stefan Schuberth (2026). once (https://uk.mathworks.com/matlabcentral/fileexchange/123850-once), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
