MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
The message opens in a tooltip and contains a Details button that provides access to
additional information by extending the message. Not all messages have additional
information.

5 Click the Details button.

The window expands to display an explanation and user action.

(^6) Modify your code, if needed.
The message indicator and underlining automatically update to reflect changes you
make, even if you do not save the file.
(^7) On line 27, hover over prod.
The code is underlined because there is a warning message, and it is highlighted
because an automatic fix is available. When you view the message, it provides a
button to apply the automatic fix.
(^8) Fix the problem by doing one of the following:



  • If you know what the fix is (from previous experience), click Fix.

  • If you are unfamiliar with the fix, view, and then apply it as follows:


a Right-click the highlighted code (for a single-button mouse, press Ctrl+
click), and then view the first item in the context menu.

24 Coding and Productivity Tips

Free download pdf