|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Introduction
1. Who Should Use This Tech Note?
2. What Does This Tech Note Cover?
3. Definitions of Terms
4. Conventions
5. For What Versions of MATLAB Are These Techniques Valid?
Bug Types
6. What Are the Three Main Types of Bugs?
Graphical Debugging Using the MATLAB Editor/Debugger
7. What Debugging Tools Are Available from the MATLAB Editor/Debugger?
8. Breakpoint Menu and Buttons
9. Debug Menu and Buttons
10. Datatips for Variables
11. Evaluate Selection
12. Help On Selection
Debugging from the MATLAB Command Prompt
13. What Debugging Tools Are Available at the MATLAB Command Prompt?
14. Setting, Clearing, and Querying Breakpoints
15. Moving from Workspace to Workspace
16. Executing Your Code Using the DBSTEP Function
17. Displaying Status Messages Periodically
18. Using the TRY/CATCH Block to Capture Errors
19. Using the ERROR Function with the LASTERR and RETHROW Functions
20. The WHICH Function
Common Errors and Warnings
21. Download the Examples
Errors
22. Error Using ==> Reshape
23. Subscripted Assignment Dimension Mismatch
24. ")" Expected, "End of Line" Found
25. ‹ Function › Not Defined For Variables of Class ‹ Class ›
26. All Rows in the Bracketed Expression Must Have the Same Number of Columns
27. Attempt to Execute SCRIPT ‹ Filename › as a Function
28. Error When Evaluating Uicontrol Callback
29. Index Exceeds Matrix Dimensions
30. Matrix Dimensions Must Agree
31. Invalid ‹ Object › Property: ‹ Property ›
32. Invalid Handle
33. Matrix Must Be Square
34. Product of Dimensions Is Greater Than Maximum Integer
35. Too Many Input/Output Arguments
36. Undefined Function or Variable
Warnings
37. Suppressing Warning Messages
38. Divide by Zero
39. Missing Operator, Comma, Semicolon, or White Space
40. Imaginary Parts of Complex X and/or Y Arguments Ignored
41. Integer Operands Are Required for Colon Operator When Used as Index
42. Matrix is Close to Singular or Badly Scaled
43. One or More Output Arguments Not Assigned During Call to ‹Function ›
44. OpenGL Not Available. Using ZBuffer.
45. Subscript Indices Must Be Real Positive Integers or Logicals
Additional Information
46. Conclusion and Further Information
Techniques for Debugging MATLAB M-files.pdf
(650.27 KB, 下载次数: 54 )
|
|