There is a maximum length for Matlab function names ?
This function name triggers a warning in R2012b for str2func(): Baseline_gzspread_12614_zlb_hist_nosteady_set_auxiliary_variables isvarname() doesn't recognize it as a valid name.
That one is OK: Baseline_gzspread_12614_zlb_hist_nosteady_set_auxiliary_variabl
If it has really to do with name length, we need to check for the length of the *.mod file and refuse the ones that are too long.