User`s guide
B Error and Warning Messages
B-12
Warning Messages
This section lists the warning messag es that the MAT LAB Compiler 2.1 can
generate. Using the
-w option for mcc, you can control which messages are
displayed. Ea ch warning message contains a descriptio n and the warning
message id entifier string (in pare ntheses) that you can enable or disable wi th
the
-w option. For example, to enable the display of warnings related to
undefined variables, you can use
mcc -w enable:undefined_variable …
To enable all warnings except those generated by the save command, use
mcc -w enable -w disable:save_options …
To display a list of all the warning message identifier strings, use
mcc -w list
Foradditionalinformation aboutthe-woption,see“MATLABCompilerOption
Flags” in Chapter 7.
Warning: (PM) Warning:
message
. (path_manager_warning) The path manager
can experience file I/O problems when reading the director y structure
(permissions).
Warning: (PMI):
message
. (path_manager_inform) This is an informational path
manager message.
Warning: A line has
number
characters, violating the maximum page width
width
.
(max_page_width_violation) To increase the maximum page width, use the
-F page-width:n option and set n to a larger value.
Warning: File:
filename
Line: # Column: # A BREAK statement appeared outside of a loop. This
BREAK is interpreted as a RETURN.
(break_without_loop) The break statement
shouldbeused inconjunctionwith the
for orwhile statements.Whennotused
in conjunction with these statements, the
break statement a cts as a return
from a function.