Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

'unexpected matlab expression'

  1. Feb 18, 2010 #1
    I write matlab program on my computer but when I copy the file to another computer and press F5 to run, there is a message 'unexpected matlab expression'
    what should I do?
  2. jcsd
  3. Feb 18, 2010 #2


    User Avatar
    Science Advisor
    Education Advisor

    Usually MATLAB tells you the line of code that it's having difficulty interpreting. Is it possible that at some point you "uncommented" some text? Are you transferring your code from one version to another version of MATLAB?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook