matlab: detect binary in custom and global search path
matlab: improvements to binary search, multiple search path and (optional) error on fail

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>