Use parse.isEmpty() instead of MATLAB bult-in empty()