The command $ module add matlab-r2006a actually loads R2006b, not R2006a. I have some files that worked with R2006a but don't work with R2006b, so please fix the module entry. Thanks! Steve