"Selma " <firstname.lastname@example.org> wrote in message news:email@example.com... > Hello while I am scheduling matlab file with matlab -r Filename.m command > in the previous versions. Now in 2012 it doesn't work. The warning is: > Undefined variable "Filename " or function "Filename.m". Could you help > me, kind regards.
Don't include the .m extension. You wouldn't run the command in MATLAB by typing "Filename.m", you'd run it by typing "Filename" (without the quotes each time.)