'unexpected matlab expression'

  • Context: MATLAB 
  • Thread starter Thread starter arashna
  • Start date Start date
  • Tags Tags
    Expression Matlab
Click For Summary
SUMMARY

The discussion centers around an error message encountered in MATLAB, specifically 'unexpected MATLAB expression', when running a program on a different computer. The issue likely stems from differences in MATLAB settings or configurations between the two systems. Participants emphasize the importance of sharing the specific line of code that triggers the error for effective troubleshooting. Additionally, there is a suggestion to consider posting such questions in dedicated MATLAB forums for more targeted assistance.

PREREQUISITES
  • Familiarity with MATLAB programming environment
  • Understanding of MATLAB error messages and debugging techniques
  • Knowledge of MATLAB settings and configurations
  • Basic programming skills to analyze and modify MATLAB code
NEXT STEPS
  • Investigate MATLAB error handling and debugging methods
  • Learn how to check and adjust MATLAB settings on different computers
  • Explore the MATLAB community forums for similar issues and solutions
  • Review best practices for transferring MATLAB files between systems
USEFUL FOR

MATLAB programmers, software developers troubleshooting code errors, and users transitioning MATLAB projects between different machines.

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:

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
4K