Why Is My MATLAB Code Not Working?

  • Context: MATLAB 
  • Thread starter Thread starter MathematicalPhysicist
  • Start date Start date
  • Tags Tags
    Code Matlab Matlab code
Click For Summary
SUMMARY

The forum discussion centers on troubleshooting MATLAB code that is not executing correctly. Users are experiencing issues with unclear error messages and are seeking assistance in identifying the root cause. The primary recommendation is to provide the code and error messages in a more readable format to facilitate effective troubleshooting. Clear communication of the problem is essential for receiving accurate help.

PREREQUISITES
  • Basic understanding of MATLAB programming
  • Familiarity with error message interpretation in MATLAB
  • Knowledge of code formatting for clarity
  • Experience with troubleshooting coding issues
NEXT STEPS
  • Learn how to format MATLAB code for better readability
  • Research common MATLAB error messages and their solutions
  • Explore MATLAB debugging tools and techniques
  • Understand best practices for seeking help in programming forums
USEFUL FOR

This discussion is beneficial for MATLAB users, programmers facing coding errors, and anyone looking to improve their troubleshooting skills in MATLAB environments.

MathematicalPhysicist
Science Advisor
Gold Member
Messages
4,662
Reaction score
372
Hi I tried to run this code, but to aveil (both in MATLAB and in mathematica).

In the attachment there's a printscreen of the code and the errors, can someone help me with this?

Thanks.
 

Attachments

  • PdeCode.jpg
    PdeCode.jpg
    32.5 KB · Views: 494
Physics news on Phys.org
I can barely read your screen because of the size, and the error messages are very faint. Please post your code and the error messages in text.
 

Similar threads

Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
6
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K