User`s guide
B Error and Warning Messages
B-14
Warning: File: filename Line: # Column: # The load statement cannot be translated unless it
specifically lists the names of variables to be loaded as constant strings.
(load_without_constant_strings) Use one of the forms of the load command
that contains the names of the variables to be loaded, for example:
load filename num or y = load('filename')
Warning: File: filename Line: # Column: # The logical expression(s) involving OR and AND
operators may have returned a different result in previous versions of MATLAB due to a change
in logical operator precedence. Use parentheses to make your code insensitive to this change.
Please type "help precedence" for more information.
(and_or_precedence) Starting in
MATLAB 6.0, the precedence of the logical AND (
&) and logical OR (|)
operators now obeys the standard relationship (AND being higher precedence
than OR) and the formal rules of Boolean algebra as implemented in most other
programming languages, as well as Simulink and Stateflow.
Previously, MATLAB would incorrectly treat the expression
y = a&b | c&d
as
y = (((a&b) |c) &d);
It now correctly treats it as
y = (a&b) | (c&d);
The form, y = a&b | c&d, will not elicit the warning message from the
Compiler. We recommend that you use parentheses to get the same behavior
now and in the future.
Warning: File: filename Line: # Column: # The MATLAB Compiler does not currently support
MATLAB object-oriented programming. References to the method "methodname" will produce
a run-time error.
(matlab_method_used) This warning occurs if the file being
compiled references a function that has only a method definition.
Warning: File: filename Line: # Column: # The save statement cannot be translated unless it
specifically lists the names of variables to be saved as constant strings.
(save_without_constant_strings) Use one of the forms of the save command
that contains the names of the variables to be saved, for example:
save filename num