once

detects if there is exactly one true value in an array.

You are now following this Submission

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://au.mathworks.com/matlabcentral/fileexchange/123850-once), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0