MEX: use cell array of strings as input for "source_model"
MEX: simplify error handling for source model
MEX: Add missing exclamation mark and static cast to mwSize