Getting 'unexpected MATLAB expression' error when running file on different computer

  • Context: MATLAB 
  • Thread starter Thread starter arashna
  • Start date Start date
  • Tags Tags
    Expression Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
arashna
Messages
3
Reaction score
0
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?
 
Physics news on Phys.org
please, give more information: for example, what is the line of your code that generates the error?BTW, consider that someone in this forum might argue that such a question could be more appropriately posted to the Matlab community forum, since not necessarily all the users in physicsforums use Matlab.

Also, I suspect your problem is not related to a general mathematics discussion, but to some specific MATLAB settings.
I can try to help you anyways.
 
Last edited: