Code covered by the BSD License  

Highlights from
findfirst

from findfirst by Richard Hindmarsh
MEX file for finding first or last non-zero.

All files for findfirst
/findfirst.c
/findfirst.m
/license.txt

Contact us at files@mathworks.com