matlab: detect binary in custom and global search path

Modify binary search