once

detects if there is exactly one true value in an array.
4 Downloads
Updated 24 Jan 2023

View License

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 (2024). once (https://www.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 Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0