The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: matlab -r command in 2012
Replies: 1   Last Post: Feb 28, 2013 5:31 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: matlab -r command in 2012
Posted: Feb 28, 2013 5:31 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Selma " <> wrote in message
> 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.)

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.