Bash If Array Is Not Empty Matlab Simulink