MMS Error handling for SDC run

For scripts that run on SDC in bach script a workaround is to throw error with err.identifier as SDCcode and err.message as the numerical error code to be returned to SDCs bash script. For this the bash script starting matlab will need some modifcations, an example:

matlab -nodesktop -nosplash -nodisplay -nojvm -r "try, mms_usc('$1'), catch err, if(strcmp(err.identifier,'MATLAB:SDCcode')) irf.log('critical',['Bash error catch worked: ', err.identifier, '. With message: ', err.message]); exit(str2num(err.message)); else irf.log('critical',['Bash error catch: ', err.identifier, '. With message: ', err.message]); exit(199); end; end, exit(0)"