MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

choice likely depends on whether you are working on a file to be deployed. When you
change the preference, it also changes the setting in the Editor. The converse is also true
—when you change the setting from the Editor, it effectively changes this preference.
However, if the dialog box is open at the time you modify the setting in the Editor, you will
not see the changes reflected in the Preferences dialog box. Whether you change the
setting from the Editor or from the Preferences dialog box, it applies to the Editor and to
the Code Analyzer Report.


To enable MATLAB Compiler™ deployment messages:


1
On the Home tab, in the Environment section, click Preferences.


The Preferences dialog box opens.

(^2) Select MATLAB > Code Analyzer.
(^3) Click the down arrow next to the search field, and then select Show Messages in
Category > MATLAB Compiler (Deployment) Messages.
(^4) Click the Enable Category button.
(^5) Clear individual messages that you do not want to display for your code (if any).
(^6) Decide if you want to save these settings, so you can reuse them next time you work
on a file to be deployed.
The settings txt file, which you can create as described in “Save and Reuse Code
Analyzer Message Settings” on page 24-13, includes the status of this setting.
Check Code for Errors and Warnings

Free download pdf