Hauptinhalt

Code Analyzer Checks

R2026b

List of Code Analyzer checks available in MATLAB

This page describes Code Analyzer checks available in MATLAB®. You can enable, disable, or configure these checks in addition to writing new checks to meet your set of coding standards. See Customize Code Analyzer Checks Using Configuration File for more information.

Incomplete Analysis

Severity: Error

Can be disabled: false

MATLAB has a nesting limit of 7 on block comments, and this file exceeds that limit. Block comment indicators, %{ and %}, must be the only characters on the lines on which they appear. Therefore, code such as the following does not end a block comment:

%} end of block comment

This error could cause your file to appear to have deeply nested block comments, when that was not your intent.

Make sure that you have specified block comment indicators properly. Review the code in the Editor to ensure that the comments include only the lines that you expect. If so, remove some levels of nesting. Removing inner block comments lowers the nesting level.

Related Documentation: Add Comments to Code

Severity: Error

Can be disabled: false

MATLAB enforces a nesting limit of 15 for functions. This message appears when one or more of the following is true:

  • Some of the functions in the file are written with end statements and others are not.

    When Code Analyzer examines the file, it checks to see if functions terminate with end statements. If the functions are not nested, you can omit their corresponding end statements. However, the same file cannot have some functions with end statements and some without.

  • There is an extra end statement in the file and it appears to Code Analyzer that it matches a function keyword.

    For example, suppose your code has nested for loops and multiple unnested functions without end statements. Furthermore, suppose there is an extra end statement for one of the for loops. If that end statement appears to match a function keyword, Code Analyzer interprets it as the situation described in the first item in this list.

  • Functions with end statements are nested more than 15 deep.

In the first two cases, additional messages might indicate where the extra end is. Code Analyzer indicates keywords that do not align with their matching end keywords.

If the message is due to mixing function keywords with and without corresponding end statements, fix the function style to be consistent. If there are extra end statements in the file by mistake, remove them. If you want more than 16 levels of nesting, consider using the MATLAB class system. Often the function nesting level drops and the code becomes simpler to understand when you use classes instead of nested functions.

Related Documentation: Nested Functions

Severity: Error

Can be disabled: false

The file exceeds the limit to which statements can be nested within a MATLAB program control statement. Some MATLAB program control statements, such as if, for, while, and try can include multiple statements within them. This can result in nesting blocks of statements. The limit is exceeded most often with machine-generated M code, typically because an end is missing from a block of generated code that appears repeatedly in the input.

If the code is machine-generated, fix the generator program. If it is hand-written, rewrite the code to reduce the number of nested statements within the MATLAB program control statements.

Related Documentation: Enter Statements in Command Window

Severity: Error

Can be disabled: false

Related Documentation: Check Code for Errors and Warnings Using the Code Analyzer

Severity: Error

Can be disabled: false

Severity: Error

Can be disabled: false

Code Analyzer reached a built-in limit while processing the file. Because Code Analyzer enforces some built-in limits more strictly than MATLAB software, this file could run, despite this message. Some of the built-in limits are intended to prevent errors which are fatal in the operating systems on which MATLAB runs. Other limits are intended to prevent the waste of time and memory that could occur if Code Analyzer attempts to process a corrupt file.

Divide your file into smaller script files and have each invoke the next in a sequence that matches the original file order. Divide function files into several files. Divide very large functions into calls of local functions or nested functions. Not only do the tools work more efficiently when you do this, but you and others can more easily understand, change, and debug the resulting files.

Related Documentation: Check Code for Errors and Warnings Using the Code Analyzer

Severity: Error

Can be disabled: false

To keep MATLAB software running efficiently, MATLAB limits the depth to which you can nest parentheses, brackets, and braces. This file has exceeded that limit. Each left parenthesis, square bracket, or brace must have a matching right parenthesis, bracket, or brace. This message appears primarily when .m programs are written by other programs, and typically when the resulting .m programs initialize large data structures.

Because code that exceeds the nesting limit also fails when you run that code, is important to fix the problem. If a program is generating the file, you can try modifying the program so it generates less nesting.

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Can be disabled: false

Severity: Error

Can be disabled: false

Related Documentation: Programming

Severity: Error

Can be disabled: false

The code contains an expression that is too complex for code analysis to handle. Instead of providing complete code analysis, this message appears for the first line of code in this file. The expression causing the problem can be anywhere within the code.

Possible causes of code complexity include:

  • Too many concurrent indexing operators.

  • Too many concurrent suffixed unary operators, e.g. x'''''...

  • Too many concurrent binary operators, e.g. a > b > c > d > ....

Follow these steps:

  1. Run checkcode from the Command Window to view all the messages for this file.

  2. Correct the reported problems.

If this message persists after correcting the other problems, attempt to simplify the code. For instance, reduce the levels of nested expressions and make long expressions shorter wherever possible. Not only do the tools work more efficiently when you make such changes, but you and others can more easily understand, change, and debug the resulting code.

Severity: Error

Can be disabled: false

Related Documentation: File Operations

Severity: Error

Can be disabled: false

Code Analyzer reached a built-in limit while processing the file. Some of the built-in limits are intended to prevent errors which are fatal in the operating systems on which MATLAB runs. Other limits are intended to prevent the waste of time and memory that could occur if the Code Analyzer attempts to process a corrupt file. Instead of providing complete code analysis, this message appears for the first line of code in this file.

Possible causes include:

  • Too many nested conditionals or switch statements.

  • Too many nested functions/nested anonymous functions.

  • Too many prefixed operators, e.g. ...-+-+-+-+-x.

Divide your file into smaller script files and have each invoke the next in a sequence that matches the original file order. Divide function files into several files. Divide very large functions into calls of local functions or nested functions. Not only do the tools work more efficiently when you do this, but you and others can more easily understand, change, and debug the resulting files.

Related Documentation: Check Code for Errors and Warnings Using the Code Analyzer

Severity: Error

Can be disabled: false

Although it rarely occurs, when this message displays, it is typically caused by one or more syntax errors in the file. After a syntax error, Code Analyzer attempts to process the rest of the file, assuming a particular fix to the syntax error. However, there can be many different kinds of errors, and what Code Analyzer assumes is a fix might not be a fix to the actual problem. This assumption can lead Code Analyzer to detect inconsistencies in its own internal data structures, and elicit this message.

In most cases, syntax errors display in red when the file is open in the Editor. Fixing these errors usually eliminates this message. If this message displays when there are no other errors in the file, it exposes a bug in Code Analyzer. In that case, submit this message and the file information to customer support as follows:

  1. Go to https://www.mathworks.com/support/contact_us.html

  2. Select Product Usage.

  3. Select Report a bug, and then answer the questions.

Severity: Error

Can be disabled: false

Related Documentation: File Operations

Severity: Error

Can be disabled: false

Severity: Error

Can be disabled: false

Severity: Error

Can be disabled: false

Syntax Errors

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Severity: Error

Related Documentation: Floating-Point Numbers

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Severity: Error

Two consecutive dots does not comprise a valid MATLAB construction. This message might indicate a typographical error. For example, if you meant to specify the ellipsis (...) line continuation operator, but accidentally specified two dots instead of three. Or, if you did not insert a space before the ellipsis, when needed.

For example, in processing the following line, Code Analyzer generates this message because the first dot is evaluated as a decimal point associated with the 3, leaving two consecutive dots:

x = 3...

Fix the code by adding or removing a dot, or by inserting a space before the ellipsis (...).

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Severity: Error

For more information on valid names, see Specify File Names.

Related Documentation: Specify File Names

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Characters and Strings

Severity: Error

The program has at least one keyword that is missing a required end statement. Code Analyzer attempts to identify and print the last keyword for which there is no end statement. Although there is definitely a missing end statement, it is possible that the indicated keyword is not the one that needs to be fixed. Code Analyzer cannot always accurately determine which keyword is missing the end statement.

Determine which keyword is missing an end statement, and supply it. If it is not obvious where the missing end statement is needed, insert an end statement at the end of the program. Then, look for new messages indicating that there are keywords not aligned with their end statement.

For a list of MATLAB keywords, type iskeyword in the Command Window.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Function Argument Validation

Severity: Error

For more information, see arguments Block Syntax.

Severity: Error

Severity: Error

Related Documentation: Add Comments to Code

Severity: Error

Related Documentation: Creating, Concatenating, and Expanding Matrices

Severity: Error

For information on property syntax, see Property Syntax.

Related Documentation: Property Syntax

Severity: Error

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Severity: Error

Severity: Error

Related Documentation: iskeyword

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Enter Statements in Command Window

Severity: Error

Severity: Error

Related Documentation: Characters and Strings

Severity: Error

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Severity: Error

Related Documentation: MATLAB Operators and Special Characters

Severity: Error

Related Documentation: Validate Property Values

Language Specification Errors

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

The code assigns an invalid value to the named attribute.

Assign public, private, protected, or a cell array of metaclass objects to the named attribute.

Severity: Error

Severity: Error

Valid values for the indicated attribute are public, private, protected, or a cell array of meta.class objects. It appears the code assigns some other value to the attribute.

Set the value of the indicated attribute to public, private, protected, or a cell array of metaclass objects.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

This appears to be a call to error that specifies a message ID, but no error message. Code Analyzer can produce this message incorrectly if the call to error is complicated.

If there is none, add an error message. If the message is incorrect, suppress it, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For additional information, see Restrictions on Variable and Function Access.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For information on how to call superclass constructors with conditional arguments, see Reference Only Specified Superclasses.

Severity: Error

For information on constructing superclass objects in subclass constructors, see Constructing Subclasses.

Severity: Error

For information on constructing superclass objects in subclass constructors, see Constructing Subclasses.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For information on constructing superclass objects in subclass constructors, see Constructing Subclasses.

Severity: Error

Severity: Error

Severity: Error

For information on constructing superclass objects in subclass constructors, see Constructing Subclasses.

Severity: Error

Subclass calls to superclass constructors cannot be part of other expressions, contained in conditional statements, or made after references to the object.

The following code illustrates some examples of invalid superclass constructor calls because of the use of brackets, parentheses, or conditional statements.

classdef MyClass < A & B
    methods
        function obj = MyClass
            obj = [obj@A] % Invalid call to A constructor
            (obj@B) % Invalid call to B constructor
            if 1
                obj@B % Invalid conditional call to B constructor
            end
        end
    end
end

Correct the syntax on the indicated line. For more information on how to call the superclass constructor, see No Conditional Calls to Superclass Constructors.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Setting the Sealed attribute to true prevents you from setting the AllowedSubclasses attribute to anything but an empty cell array ({}).

Do not set the AllowedSubclasses attribute if the Sealed attribute is set to true.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

A variable is declared as persistent in this script. However, variables can be declared as persistent in functions only. In scripts, there is no function workspace in which the variable can persist.

Rewrite the script as a function or use a class property that persists naturally. If that is not possible, you can declare the variable as global instead. However, be aware that the use of global is discouraged because programs that use it can be harder to maintain, extend, and use with other programs.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

A parfor (MATLAB Coder) loop contains break statements. The parfor statement works by breaking up iterations of a loop and running these iterations on multiple MATLAB workers. Using break statements implies that later iterations of the loop should not run after either of these two statements execute. Therefore, the loop iterations must run in sequence. However, for the parfor loop to be valid, the result of running the successive loop iterations must not depend on the order in which they run.

Transform the program so that loop iterations do not depend on the results of other loop iterations.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

The code uses a load function within a parfor (MATLAB Coder) loop to load variables. However, to classify variables correctly, the body of the parfor loop must be transparent. Transparency means that all references to variables must be visible in the text of the code. If a load function inside a parfor loop does not assign the MAT-file data to a MATLAB structure, variables that are not visible in the text of code might be loaded into the workspace.

For information on loading MAT-file data into a structure, see the help for load (Instrument Control Toolbox). For information on transparency, see Transparency (Parallel Computing Toolbox).

Call load as a function, assigning the output argument to a variable. For example:

x = load('myfile.mat')

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For additional information, see Nested parfor-Loops (Parallel Computing Toolbox).

Severity: Error

In analyzing a parfor loop, Code Analyzer has found a reduction variable that appears to be using a nonbroadcast variable reference as the reduction function. A reduction function must be either a function name or a broadcast variable. This message typically appears because there is an assignment to the named reduction function within the parfor loop.

For more information, see the topics on broadcast variables and reduction assignments under Classification of Variables in parfor-Loops (Parallel Computing Toolbox).

Ensure that you intend for the reduction to be within the loop, and that you define the variable used for the reduction function before the loop.

Severity: Error

The parfor (MATLAB Coder) statement allows only a range of increasing sequential numbers with a step value of 1.

Adjust your code, as follows:

If your code contains a statement such as parfor 1:2:10, rewrite your code so that step intervals of 1 return the expected results.

If your code contains a statement such as parfor i = V, ensure that V resolves to a contiguous series of values in a vector array, and the step between values is 1.

For example, assume your code is similar to the following, where <myArray> is an actual array, such as [2, 6, 7]:

vectorValues = [1, 4, 9, 16, 25, 36, 49];
vectorSequence = <myArray>;
parfor ii = vectorSequence
    val = vectorValues(ii);
    sprintf('index = %d  value = %d\n', ii, val)
end

Change your code as follows, depending on whether the vectorSequence array is sparse. Keep in mind that MATLAB transfers data to workers once per iteration.

If the vectorSequence array is sparse, use this code, which results in fewer data transfers than the original code, but incurs the cost of copying the data into vectorValueSubset.

vectorValues = [1, 4, 9, 16, 25, 36, 49];
vectorSequence = [2, 6, 7];
vectorValueSubset = vectorValues(vectorSequence);
parfor jj = 1:length(vectorSequence)
    val = vectorValueSubset(jj);
    sprintf('index = %d  value = %d\n', vectorSequence(jj), val)
end

If the vectorSequence array is not sparse, use this code, which results in more data transfers than the original code, but does not incur the cost of copying data. The extra transfers are computationally lightweight.

vectorValues = [1, 4, 9, 16, 25, 36, 49];
vectorSequence = [2:3, 5:7];
parfor kk = min(vectorSequence):max(vectorSequence)
    if (find( vectorSequence == kk))
        val = vectorValues(kk);
        sprintf('index = %d  value = %d\n', kk, val)
    end
end

Severity: Error

Severity: Error

A parfor (MATLAB Coder) loop contains return statements. The parfor statement works by breaking up iterations of a loop and running these iterations on multiple MATLAB workers. Using return statements implies that later iterations of the loop should not run after either of these two statements execute. Therefore, the loop iterations must run in sequence. However, for the parfor loop to be valid, the result of running the successive loop iterations must not depend on the order in which they run.

Transform the program so that loop iterations do not depend on the results of other loop iterations.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For additional information, see Nested spmd Statements (Parallel Computing Toolbox).

Severity: Error

save can be called inside a parfor-loop when using the -fromstruct option. For additional information, see Save Variables in parfor-Loops (Parallel Computing Toolbox).

Severity: Error

MATLAB runs loops in parfor functions by dividing the loop iterations into groups, and then sending them to MATLAB workers where they run in parallel. For MATLAB to do this in a repeatable, reliable manner, it must be able to classify all the variables used in the loop. The code uses the indicated variable in a way that is incompatible with classification.

Fix the usage of the indicated variable.

For more information about variable classification and other restrictions on parfor (MATLAB Coder) loop iterations, see Classification of Variables in parfor-Loops (Parallel Computing Toolbox).

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

A value is assigned to the parfor loop index within the parfor loop body, which is not valid.

For an example, see Loop Variable under Loop Variables (Parallel Computing Toolbox).

If this message is the result of a typographical error in your code, fix it. Otherwise, rewrite the application to avoid assigning a value to the parfor (MATLAB Coder) loop index within the loop body.

Severity: Error

There may be two rows of different lengths in this matrix initialization. MATLAB requires each row of a matrix to be the same length. Note that when variables are included in a matrix initialization, Code Analyzer often cannot determine whether the variable is a scalar or a vector. Therefore, it could fail to find problems that appear when you run the code. Because Code Analyzer issues this message conservatively, when it does display this message, there is probably a problem.

Adjust the code so that all rows in the matrix are the same length.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

save can be called inside a spmd block when using the -fromstruct option. For additional information, see Save Variables in parfor-Loops (Parallel Computing Toolbox).

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

This appears to be a call to warning that specifies a message ID, but no warning message. Code Analyzer might produce this message incorrectly.

If there is none, add a warning message to the call. If the message is incorrect, suppress it, as described in Adjust Code Analyzer Message Indicators and Messages

Bugs

Severity: Error

Severity: Error

Operands to || and && must be scalar values.

Use all or any to convert this value into a scalar value or use the element-wise operators | or & instead.

OldScalar ConversionElement-wise Comparison
A = [1 2]||false
A = any([1 2])||false
A = [1 2]|false

Severity: Error

A comparison operator is applied to a function that returns logical values (true or false). In this case, the comparison always returns false. Therefore, it is performed incorrectly.

If you want to perform a comparison, rewrite your code by placing the operator inside the function call. This example shows how to fix the code to determine whether any element in a vector A is greater than 1.

Original Revised
A = [6 3 7 5];
B = any(A)>1
 
A = [6 3 7 5];
B = any(A>1)

In the original code, B evaluates to false regardless of the value of A, because the any function can return only logical 0 or 1 values. The revised code correctly determines whether any element in A is greater than 1.

Severity: Error

Severity: Error

Severity: Error

A comparison operator is applied to a function that returns logical values (true or false). In this case, the comparison always returns true. Therefore, it is performed incorrectly.

If you want to perform a comparison, rewrite your code by placing the operator inside the function call. This example shows how to fix the code to determine whether any element in a vector A is less than or equal to 1.

Original Revised
A = [6 3 7 5];
B = any(A)<=1
 
A = [6 3 7 5];
B = any(A<=1)

In the original code, B evaluates to true regardless of the value of A, because the any function can return only logical 0 or 1 values. The revised code correctly determines whether any element in A is less than or equal to 1.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

When comparing values to NaN using the relational equals operator (==), MATLAB always returns false. For example, the following code displays false even though it compares NaN to NaN:

x = NaN;
if x == NaN
    disp('true')
else
    disp('false')
end

Instead of using the relational equals operator to compare a variable to NaN, use isnan. For example, the following code displays true:

x = NaN;
if isnan(x)
    disp('true')
else
    disp('false')
end

Severity: Error

Severity: Error

<MAIN FUNCTION> takes a function handle or an anonymous function as its first input argument.

To pass a handle to a function as the argument, prepend an @ before the function call. See Pass Function to Another Function or the documentation for <MAIN FUNCTION> for usage examples.

If you see this error on a function that returns a function handle, add empty parentheses to the function call:

BeforeAfter
<Main Fcn>(<Arg Fcn>, ...)
<Main Fcn>(<Arg Fcn>(), ...)

Severity: Error

Severity: Error

The code contained in all blocks of this if statement are identical. This indicates a bug in the code because the if statement does not have any effect.

This error is not an execution error and will not stop code from running.

Remove the if statement or change the code blocks.

Severity: Error

The code contained in this condition are identical another condition. This indicates a bug in the code because the condition does not have any effect.

This error is not an execution error and will not stop code from running.

Remove the condition or change the code blocks.

Severity: Error

Severity: Error

Since both operands are identical, the second operand has no effect on the operation. This indicates a bug in the code.

This error is not an execution error and will not stop code from running.

Change one of the operands or remove the operation.

Severity: Error

Using isempty on a logical expression creates incorrect results.

To determine if all the conditions are false, use ~any(...) or ~any(..., "all") for matrices instead. For example:

OldReplacementReplacement For Matrices
isempty(x == y)
~any(x == y)
~any(x == y, "all")
isempty(x ~= y)
~any(x ~= y)
~any(x ~= y, "all")
isempty(x < y)
~any(x < y)
~any(x < y, "all")
isempty(x && y)
~any(x && y)
~any(x && y, "all")

Severity: Error

Severity: Error

If the first input argument to the warning function is a warning identifier, MATLAB interprets the second input argument as formatting operators that can include ordinary text and escape characters. When the message property of an MException object is passed as the second input, any backslashes within it are treated as escape characters and are translated during display, which is likely not intended.

When using the message property of an MException object as the warning message, add the string format specifier ("%s") to the warning function call. For example, create an MException object.

E = MException("myComponent:myID","Cannot open file: %s","C:\data\sample.txt");

To display the message, call the warning function as follows:

warning(E.identifier,"%s",E.message)

If you call the warning function without the specifier, MATLAB interprets the backslashes in the folder path as escape characters.

For more information, see Formatting text.

Severity: Error

When comparing values to NaN, MATLAB always returns false. For example, the following code displays other value even though it compares NaN to NaN:

x = NaN;
switch x
    case -1
        disp('negative one');
    case 0
        disp('zero');
    case 1
        disp('positive one');
    case NaN
        disp('NaN');
    otherwise
        disp('other value')
end

Rewrite your code so it does not compare a variable to NaN. For example, you can rewrite the previous code like this, using isnan to determine if the variable is NaN:

x = NaN;
switch x
    case -1
        disp('negative one');
    case 0
        disp('zero');
    case 1
        disp('positive one');
    otherwise
        if isnan(x)
            disp('NaN')
        else
            disp('other value')
        end
end

Severity: Error

MATLAB implicitly clears all local variables at the termination of a function, whether by normal completion, or a forced exit, such as an error, or Ctrl+C. When an onCleanup object is destroyed the onCleanup function is called. Local variables from the terminated function may no longer exist at the time the onCleanup function is executed.

Pass an anonymous function as the onCleanup Function. This saves a separate copy of variables included in the anonymous function which persist as long as the anonymous function persists.

OldReplacement
function clearedFunction
    k = 10;
    c = onCleanup(@nested);
    function nested
        disp(k) 
    end
end
function clearedFunction
    k = 10;
    c = onCleanup(@()nested(k));
    function nested(k)
        disp(k) 
    end
end

Severity: Error

Severity: Error

Severity: Error

MATLAB runs parfor loops on multiple MATLAB workers that have multiple workspaces. The indicated function might not access the correct workspace; therefore, its usage is invalid.

Rewrite the application to avoid using this function. For information about what is and is not valid within a parfor (MATLAB Coder) loop, see Transparency (Parallel Computing Toolbox).

Severity: Error

If the reduction assignment uses *, [,], or [;], then the reduction variable must be consistently specified as the first or second argument in every reduction assignment.

The parfor-loop on the left is not valid because the order of items in the concatenation is not consistent throughout the loop. The parfor-loop on the right is valid.

InvalidValid
parfor i = 1:n
    if testLevel(k)
        A = [A, 4+i];
    else
        A = [r(i), A];
    end
    % loop body continued
end
parfor i = 1:n
    if testLevel(k)
        A = [A, 4+i];
    else
        A = [A, r(i)];
    end
    % loop body continued
end

Rewrite the application to avoid using the variable in the manner described in the explanation. For more information, see Reduction Variables (Parallel Computing Toolbox).

Severity: Error

Severity: Error

Severity: Error

Severity: Error

The indicated statement always returns false or results in an error. This is because the statements A && B and A || B always either return a logical value or throw an error.

Rewrite the code to perform the logical operation outside of the indicated function.

For example, to determine whether both a and b are empty:

a = 1;
b = 2;
isnan(a) && isnan(b)

To determine whether a is empty, and then determine the logical AND of the result and b:

a = 1;
b = 2;
isnan(a) && b

Severity: Error

The indicated statement always returns true or results in an error. This is because the statements A && B and A || B always either return a logical value or throw an error.

Rewrite the code to perform the logical operation outside of the indicated function.

For example, to determine whether both a and b are scalars:

a = 1;
b = 2;
isscalar(a) && isscalar(b)

To determine whether a is a scalar, and then determine the logical AND of the result and b:

a = 1;
b = 2;
isscalar(a) && b

Severity: Error

Severity: Error

Severity: Error

Custom Checks

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Using external operating system commands decreases robustness and portability of code.

Remove instances of the bang (!) operator from your code.

Naming Checks

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Compatibility Considerations

Severity: Error

For additional information, see autocorr (Econometrics Toolbox).

Related Documentation: autocorr (Econometrics Toolbox)

Severity: Error

Related Documentation: actxcontrol

Severity: Error

Related Documentation: actxcontrollist

Severity: Error

Related Documentation: actxcontrolselect

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Error

Severity: Error

Related Documentation: map.geodesy.AuthalicLatitudeConverter (Mapping Toolbox)

Severity: Error

Severity: Error

Simulink 3D Animation Viewer used by Aero.VirtualRealityAnimation has been removed. Aero.VirtualRealityAnimation does not open or play animations.

Use sim3d classes in Unreal Engine 3d Environment (Aerospace Toolbox) to create and view a 3D environment instead. For more information on transitioning to the new 3D environment, see Transition Aero.VirtualRealityAnimation to Unreal Engine 3D Environment (Aerospace Toolbox).

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: axis

Severity: Error

For any given of modulation scheme, you can provide decimal values when calling the modulation and demodulation functions. When calling the modulation and demodulation functions, specify symbol order as 'bin' for natural binary encoding or 'gray' for Gray encoding.

Modulation SchemeBeforeAfter
QAM
x = randi([0 63],1,100);
y = bin2gray(x,'qam',64);
z = qammod(y,64,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = qamdemod(x,64,'bin');
z = gray2bin(y,'qam',64);
x = randi([0 63],1,100);
z = qammod(x,64,'gray');
x = 2*(randn(100,1)+1j*randn(100,1));
z = qamdemod(x,64,'gray')
PAM
x = randi([0 63],1,100);
y = gray2bin(x,'pam',64);
z = pammod(y,64,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = pamdemod(x,64,pi/4,'bin');
z = bin2gray(y,'pam',64);
x = randi([0 63],1,100);
z = pammod(x,64,pi/4,'gray');
x = 2*(randn(100,1)+1j*randn(100,1));
z = pamdemod(x,64,pi/4,'gray')
FSK
x = randi([0 63],1,100);
y = gray2bin(x,'fsk',64);
z = fskmod(y,64,1,256,256,'cont','bin')
x = 2*(randn(512,1)+1j*randn(512,1));
y = fskdemod(x,64,1,256,256,'bin');
z = bin2gray(y,'fsk',64)
x = randi([0 63],1,100);
z = fskmod(x,64,1,256,256,'cont','gray')
x = 2*(randn(512,1)+1j*randn(512,1));
z = fskdemod(x,64,1,256,256,'gray');
DPSK
x = randi([0 63],1,100);
y = gray2bin(x,'dpsk',64);
z = dpskmod(y,64,pi/4,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = dpskdemod(x,64,pi/4,'bin');
z = bin2gray(y,'dpsk',64);
x = randi([0 63],1,100);
z = dpskmod(x,64,pi/4,'gray');
x=2*(randn(100,1)+1j*randn(100,1));
z = dpskdemod(x,64,pi/4,'gray');
PSK
x=randi([0 63],1,100);
y=gray2bin(x,'psk',64);
z=pskmod(y,64,0,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = pskdemod(x,64,0,'bin');
z = bin2gray(y,'psk',64);
x=randi([0 63],1,100);
z=pskmod(x,64,0,'gray');
x = 2*(randn(100,1)+1j*randn(100,1));
z = pskdemod(x,64,0,'gray');

Severity: Error

Related Documentation: betalike (Statistics and Machine Learning Toolbox)

Severity: Error

Related Documentation: bigimage (Image Processing Toolbox)

Severity: Error

Related Documentation: bigimageDatastore (Image Processing Toolbox)

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

Severity: Error

Severity: Error

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to bluetooth Interface.

Severity: Error

Severity: Error

Related Documentation: textscan

Severity: Warning

Severity: Error

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Error

Related Documentation: map.geodesy.ConformalLatitudeConverter (Mapping Toolbox)

Severity: Error

The CheckGradients option in optimoptions will be removed in a future release. With appropriate code changes, use the checkGradients function instead.

For additional information, see checkGradients (Optimization Toolbox).

Update existing code to use checkGradients instead. For example:

OldNew
opts = optimoptions("fmincon",SpecifiObjectiveGradient=true,...
            CheckGradients=true);
x = fmincon(fun,x0,A,b,Aeq,beq,lb,ub,nonlcon,opts);
tf = checkGradients(fun, x0);

Related Documentation: checkGradients (Optimization Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Severity: Warning

Severity: Error

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Warning

Severity: Error

Severity: Warning

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

Related Documentation: geodeticLatitudeFromGeocentric (Mapping Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: colordef

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Warning

Related Documentation: comm.BPSKDemodulator (Communications Toolbox)

Severity: Warning

Related Documentation: comm.BPSKModulator (Communications Toolbox)

Severity: Error

Severity: Error

Severity: Warning

Related Documentation: comm.CRCDetector (Communications Toolbox)

Severity: Warning

Related Documentation: comm.CRCGenerator (Communications Toolbox)

Severity: Warning

Severity: Error

Severity: Error

For more information, see Communications Toolbox Release Notes (Aerospace Toolbox).

Severity: Error

Related Documentation: comm.gpu.AWGNChannel (Communications Toolbox)

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Error

Related Documentation: comm.gpu.LDPCDecoder (Communications Toolbox)

Severity: Warning

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Related Documentation: comm.PSKDemodulator (Communications Toolbox)

Severity: Warning

Related Documentation: comm.PSKModulator (Communications Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Related Documentation: comm.QPSKDemodulator (Communications Toolbox)

Severity: Warning

Related Documentation: comm.QPSKModulator (Communications Toolbox)

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Error

Related Documentation: images.compatibility.volshow.R2022a.volshow (Image Processing Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Related Documentation: VideoReader

Severity: Warning

Related Documentation: aviinfo

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Warning

Related Documentation: textscan

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Error

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Warning

Severity: Error

Related Documentation: drawnow

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: pagesetupdlg

Severity: Error

matlabpool has been removed. Use parpool instead.

parpool creates a pool of workers on the current cluster and connects the MATLAB client. It enables the full functionality of the MATLAB parallel language features including parfor, spmd, and the distributed function.

Replace occurrences of matlabpool with parpool. In some instances, parpool uses a different syntax than matlabpool. For example:

  • To start a pool using the current cluster profile, replace matlabpool with parpool.

  • To query whether a pool exists, replace matlabpool('size') == 0 with isempty(gcp('nocreate')).

  • To close the current pool, replace matlabpool close or matlabpool('close') with delete(gcp('nocreate')).

For further information, see the parpool (Parallel Computing Toolbox) and parallel.Pool (Parallel Computing Toolbox) reference pages.

Severity: Warning

Severity: Warning

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Related Documentation: audioDeviceWriter (DSP System Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: dsp.AsyncBuffer (DSP System Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: dsp.AsyncBuffer (DSP System Toolbox)

Severity: Error

dsp.DigitalFilter has been removed. Use dsp.FIRFilter, dsp.IIRFilter, or dsp.AllpoleFilter instead.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: dsp.FIRInterpolator (DSP System Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: timescope (DSP System Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: egm96geoid (Mapping Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: feval

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

addvar has been removed. To add input or output variables to a fuzzy system, use addInput (Fuzzy Logic Toolbox) or addOutput (Fuzzy Logic Toolbox), respectively.

This table shows some typical usages of addvar and how to update your code to use addInput or addOutput instead.

If your code has this form:Use this code instead:
fis = addvar(fis,'input','service',[0 10])
fis = addInput(fis,[0 10],'Name',"service")
fis = addvar(fis,'output','tip',[0 30])
fis = addOutput(fis,[0 30],'Name',"tip")

Severity: Error

getfis has been removed. Access fuzzy inference system properties using dot notation instead. For more information on fuzzy inference system objects, see mamfis (Fuzzy Logic Toolbox) and sugfis (Fuzzy Logic Toolbox).

This table shows some typical usages of getfis for accessing fuzzy inference system properties and how to update your code to use dot notation instead.

If your code has this form:Use this code instead:
get(fis,'andmethod')
fis.AndMethod
get(fis,'input',1)
fis.Inputs(1)
getfis(fis,'input',1,'name')
fis.Inputs(1).Name
getfis(fis,'input',2,'mf',1)
fis.Inputs(2).MembershipFunctions(1)
getfis(fis,'input',2,'mf',1,params)
fis.Inputs(2).MembershipFunctions(1).Parameters

Severity: Error

mf2mf has been removed. Convert membership functions using dot notation on fismf (Fuzzy Logic Toolbox) objects instead.

Previously, membership functions were represented as structures within a fuzzy inference system structure. Now, membership functions are represented as fismf objects within mamfis (Fuzzy Logic Toolbox) and sugfis (Fuzzy Logic Toolbox) objects.

Previously, to change the type of a membership function in a fuzzy inference system, you converted the parameters using mf2mf.

fis = readfis('tipper');
oldType = fis.input(1).mf(1).type;
oldParams = fis.input(1).mf(1).params;
fis.input(1).mf(1).type = newType;
fis.input(1).mf(1).params = mf2mf(oldParams,oldType,newType);

Now, when you change the type of membership function, the parameters are converted automatically.

fis = readfis('tipper');
fis.Inputs(1).MembershipFunctions(1).Type = newType;

Severity: Error

mam2sug has been removed. Use convertToSugeno (Fuzzy Logic Toolbox) instead. To update your code, change the function name from mam2sug to convertToSugeno. The syntaxes are equivalent.

Severity: Error

newfis has been removed. To create a Mamdani or Sugeno FIS, use mamfis (Fuzzy Logic Toolbox) or sugfis (Fuzzy Logic Toolbox), respectively.

This table shows some typical usages of newfis for creating fuzzy systems and how to update your code to use mamfis or sugfis instead.

If your code has this form:Use this code instead:
fis = newfis(name)
fis = mamfis('Name',name)
s = newfis(name,'FISType','mamdani')
fis = mamfis('Name',name)
fis = newfis(name,'FISType','sugeno')
fis = sugfis('Name',name)
fis = newfis(name,'FISType','mamdani','AndMethod','prod')
fis = mamfis('Name',name,'AndMethod','prod')
fis = newfis(name,'FISType','sugeno','OrMethod','probor')
fis = sugfis('Name',name,'OrMethod','probor')

Severity: Error

parsrule has been removed. Use addRule (Fuzzy Logic Toolbox) instead.

If you previously added rules using linguistic or symbolic expressions with parsrule, you can specify rules using the same expressions with addrule. addRule automatically detects the format of the strings or character vectors in your rule list. Therefore, it is no longer necessary to specify the rule format. To add a rule list using addRule, use the following command:

fis = addRule(fis,rules);

Previously, you could add rules using indexed expressions with parsrule.

rule1 = "1 2, 1 4 (1) : 1";
rule2 = "-1 1, 3 2 (1) : 1";
rules = [rule1 rule2];
fis = parsrule(fis,rules,'Format','indexed');

Now, specify these rules using arrays of indices.

rule1 = [1 2 1 4 1 1];
rule2 = [-1 1 3 2 1 1];
rules = [rule1; rule2];
fis = addRule(fis,rules);

If you previously specified rules using the 'Language' name-value pair argument with parsrule, this functionality has been removed and there is no replacement. Specify your rules using addRule with a different rule format.

Previously, parsrule replaced the entire rule list in your fuzzy system. addRule appends your specified rules to the rule list.

Severity: Error

rmmf has been removed. Use removeMF (Fuzzy Logic Toolbox) instead.

The following table shows some typical usages of rmmf and how to update your code to use removeMF instead. Previously, you specified the index of the variable from which you wanted to remove the membership function and the index of the membership function that you wanted to remove. Now, to remove a membership function, specify the variable name and the membership function name.

If your code has this form:Use this code instead:
fis = rmmf(fis,'input',1,'mf',1)
fis = removeMF(fis,"service","poor")
fis = rmmf(fis,'output',1,'mf',1)
fis = removeMF(fis,"tip","cheap")

Previously, you had to delete any references to a membership function you wanted to remove from the rule set. removeMF automatically removes these references from the rule set of your fuzzy system.

Severity: Error

rmvar has been removed. To remove input or output variables from a fuzzy system, use removeInput (Fuzzy Logic Toolbox) or removeOutput (Fuzzy Logic Toolbox), respectively.

This table shows some typical usages of rmvar and how to update your code to use removeInput or removeOutput instead. Previously, you specified the index of the variable that you wanted to remove. Now, to remove a variable, specify the variable name.

If your code has this form:Use this code instead:
fis = rmvar(fis,'input',1)
fis = removeInput(fis,"service")
fis = rmvar(fis,'output',1)
fis = removeOutput(fis,"tip")

Previously, you had to delete any rules from your fuzzy system that contained the variable you wanted to remove. removeInput and removeOutput automatically remove these variables from the rule set of your fuzzy system.

Severity: Error

setfis has been removed. Set fuzzy inference system properties using dot notation instead. For more information on fuzzy inference system objects, see mamfis (Fuzzy Logic Toolbox) and sugfis (Fuzzy Logic Toolbox).

This table shows some typical usages of setfis for setting fuzzy inference system properties and how to update your code to use dot notation instead.

If your code has this form:Use this code instead:
fis = setfis(fis,'andmethod','prod')
fis.AndMethod = 'prod'
fis = setfis(fis,'input',1,'name','service')
fis.Inputs(1).Name = "service"
fis = setfis(fis,'input',2,'mf',1,params,[5 10 15])
fis.Inputs(2).MembershipFunctions(1).Parameters = [5 10 15]

Severity: Error

showfis has been removed. View the properties of your FIS directly instead.

Previously, you could view the properties of your fuzzy system, myFIS, using the showfis function.

showfis(myFIS)

Now, you can view the properties directly instead.

myFIS

To view additional FIS properties, use dot notation. For example, view information about the membership functions of the first input variable.

myFIS.Inputs(1).MembershipFunctions

For more information on fuzzy inference systems and their properties, see mamfis (Fuzzy Logic Toolbox) and sugfis (Fuzzy Logic Toolbox).

Severity: Error

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

For any given of modulation scheme, you can provide decimal values when calling the modulation and demodulation functions. When calling the modulation and demodulation functions, specify symbol order as 'bin' for natural binary encoding or 'gray' for Gray encoding.

Modulation SchemeBeforeAfter
QAM
x = randi([0 63],1,100);
y = bin2gray(x,'qam',64);
z = qammod(y,64,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = qamdemod(x,64,'bin');
z = gray2bin(y,'qam',64);
x = randi([0 63],1,100);
z = qammod(x,64,'gray');
x = 2*(randn(100,1)+1j*randn(100,1));
z = qamdemod(x,64,'gray')
PAM
x = randi([0 63],1,100);
y = gray2bin(x,'pam',64);
z = pammod(y,64,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = pamdemod(x,64,pi/4,'bin');
z = bin2gray(y,'pam',64);
x = randi([0 63],1,100);
z = pammod(x,64,pi/4,'gray');
x = 2*(randn(100,1)+1j*randn(100,1));
z = pamdemod(x,64,pi/4,'gray')
FSK
x = randi([0 63],1,100);
y = gray2bin(x,'fsk',64);
z = fskmod(y,64,1,256,256,'cont','bin')
x = 2*(randn(512,1)+1j*randn(512,1));
y = fskdemod(x,64,1,256,256,'bin');
z = bin2gray(y,'fsk',64)
x = randi([0 63],1,100);
z = fskmod(x,64,1,256,256,'cont','gray')
x = 2*(randn(512,1)+1j*randn(512,1));
z = fskdemod(x,64,1,256,256,'gray');
DPSK
x = randi([0 63],1,100);
y = gray2bin(x,'dpsk',64);
z = dpskmod(y,64,pi/4,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = dpskdemod(x,64,pi/4,'bin');
z = bin2gray(y,'dpsk',64);
x = randi([0 63],1,100);
z = dpskmod(x,64,pi/4,'gray');
x=2*(randn(100,1)+1j*randn(100,1));
z = dpskdemod(x,64,pi/4,'gray');
PSK
x=randi([0 63],1,100);
y=gray2bin(x,'psk',64);
z=pskmod(y,64,0,'bin');
x = 2*(randn(100,1)+1j*randn(100,1));
y = pskdemod(x,64,0,'bin');
z = bin2gray(y,'psk',64);
x=randi([0 63],1,100);
z=pskmod(x,64,0,'gray');
x = 2*(randn(100,1)+1j*randn(100,1));
z = pskdemod(x,64,0,'gray');

Severity: Error

Related Documentation: map.geodesy.AuthalicLatitudeConverter (Mapping Toolbox)

Severity: Error

Related Documentation: map.geodesy.ConformalLatitudeConverter (Mapping Toolbox)

Severity: Error

Related Documentation: geocentricLatitude (Mapping Toolbox)

Severity: Error

Related Documentation: map.geodesy.IsometricLatitudeConverter (Mapping Toolbox)

Severity: Error

Related Documentation: parametricLatitude (Mapping Toolbox)

Severity: Error

Related Documentation: map.geodesy.RectifyingLatitudeConverter (Mapping Toolbox)

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Error

Related Documentation: MException.last

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Error

Related Documentation: Transition Your Code to VISA-GPIB Interface (Instrument Control Toolbox)

Severity: Error

Related Documentation: graymon

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Related Documentation: matlab.io.hdfeos.gd

Severity: Error

Related Documentation: matlab.io.hdf4.sd

Severity: Error

Related Documentation: matlab.io.hdfeos.sw

Severity: Error

Severity: Warning

Severity: Warning

Severity: Error

Related Documentation: fminunc (Optimization Toolbox)

Severity: Error

Related Documentation: fminunc (Optimization Toolbox)

Severity: Error

hgexport will be removed in a future release. To save the contents of a plot as an image or vector graphics file, use the exportgraphics function.

exportgraphics has a variety of options for controlling the output. For example, you can capture plots with tight cropping around the axes, control image resolution, embed fonts in PDFs, or create multipage PDFs and animated GIFs.

To save the contents of an app to an image file, use the exportapp function.

Related Documentation: hgexport

Severity: Warning

Related Documentation: hgsave

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Related Documentation: hpfilter (Econometrics Toolbox)

Severity: Warning

Related Documentation: hypercube (Image Processing Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: imshow (Image Processing Toolbox)

Severity: Warning

Severity: Error

Related Documentation: im2java2d (Image Processing Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: import

Severity: Warning

Related Documentation: import

Severity: Warning

imtool will be removed in a future release.

Use the Image Viewer app. This example shows how to open an image in Image Viewer instead of the Image tool.

OldNew
I = imread("cameraman.tif");
imtool(I) 
I = imread("cameraman.tif");
imageViewer(I) 

When you want to set the display range or the colormap, rewrite your code to specify the DisplayRange or Colormap name-value argument, respectively. This example shows how to fix code that sets the display range using a positional argument.

OldNew
I = imread("cameraman.tif");
imtool(I,[5 250]) 
I = imread("cameraman.tif");
imageViewer(I,DisplayRange=[5 250]) 

If you want to return the figure that contains the Image tool, then use the images.compatibility.imtool.r2023b.imtool function instead. This example shows how to return the figure containing the Image tool.

OldNew
I = imread("cameraman.tif");
htool = imtool(I);
I = imread("cameraman.tif");
htool = images.compatibility.imtool.r2023b.imtool(I);

Related Documentation: imtool (Image Processing Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

This function is used by the serial, Bluetooth, tcpip, udp, visa, gpib and i2c interfaces. These interfaces will also be removed in a future release, as previously announced. Use the following interfaces instead:

FunctionalityUse This InsteadAdditional Information
serial serialport Transition Your Code to serialport Interface
Bluetooth bluetooth (case-sensitive) Transition Your Code to bluetooth Interface
tcpip tcpclient Transition Your Code to tcpclient Interface (Instrument Control Toolbox)
tcpserver Transition Your Code to tcpserver Interface (Instrument Control Toolbox)
udp udpport Transition Your Code to udpport Interface (Instrument Control Toolbox)
visa visadev Transition Your Code to visadev Interface (Instrument Control Toolbox)
gpib VISA-GPIB interface with visadev Transition Your Code to VISA-GPIB Interface (Instrument Control Toolbox)
i2c device function with aardvark or ni845x object Transition Your Code to aardvark or ni845x Interface (Instrument Control Toolbox)
icdevice when legacyMode is false (use icdevicefind (Instrument Control Toolbox) instead Legacy mode will be removed (Instrument Control Toolbox)

The recommended interfaces have additional capabilities and improved performance. For more information about the recommended interfaces, see Interface-Based Instrument Communication (Instrument Control Toolbox).

Related Documentation: instrfindall (Instrument Control Toolbox)

Severity: Error

Severity: Error

Related Documentation: Transition Your Code to VISA-GPIB Interface (Instrument Control Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

This function is used by the serial, Bluetooth, tcpip, udp, visa, gpib and i2c interfaces. These interfaces will also be removed in a future release, as previously announced. Use the following interfaces instead:

FunctionalityUse This InsteadAdditional Information
serial serialport Transition Your Code to serialport Interface
Bluetooth bluetooth (case-sensitive) Transition Your Code to bluetooth Interface
tcpip tcpclient Transition Your Code to tcpclient Interface (Instrument Control Toolbox)
tcpserver Transition Your Code to tcpserver Interface (Instrument Control Toolbox)
udp udpport Transition Your Code to udpport Interface (Instrument Control Toolbox)
visa visadev Transition Your Code to visadev Interface (Instrument Control Toolbox)
gpib VISA-GPIB interface with visadev Transition Your Code to VISA-GPIB Interface (Instrument Control Toolbox)
i2c device function with aardvark or ni845x object Transition Your Code to aardvark or ni845x Interface (Instrument Control Toolbox)
icdevice when legacyMode is false (use icdevicefind (Instrument Control Toolbox) instead Legacy mode will be removed (Instrument Control Toolbox)

The recommended interfaces have additional capabilities and improved performance. For more information about the recommended interfaces, see Interface-Based Instrument Communication (Instrument Control Toolbox).

Related Documentation: instrfind (Instrument Control Toolbox)

Severity: Error

Related Documentation: instrhelp (Instrument Control Toolbox)

Severity: Error

Related Documentation: instrnotify (Instrument Control Toolbox)

Severity: Error

This function is used by the serial, Bluetooth, tcpip, udp, visa, gpib and i2c interfaces. These interfaces will also be removed in a future release, as previously announced. Use the following interfaces instead:

FunctionalityUse This InsteadAdditional Information
serial serialport Transition Your Code to serialport Interface
Bluetooth bluetooth (case-sensitive) Transition Your Code to bluetooth Interface
tcpip tcpclient Transition Your Code to tcpclient Interface (Instrument Control Toolbox)
tcpserver Transition Your Code to tcpserver Interface (Instrument Control Toolbox)
udp udpport Transition Your Code to udpport Interface (Instrument Control Toolbox)
visa visadev Transition Your Code to visadev Interface (Instrument Control Toolbox)
gpib VISA-GPIB interface with visadev Transition Your Code to VISA-GPIB Interface (Instrument Control Toolbox)
i2c device function with aardvark or ni845x object Transition Your Code to aardvark or ni845x Interface (Instrument Control Toolbox)

The recommended interfaces have additional capabilities and improved performance. For more information about the recommended interfaces, see Interface-Based Instrument Communication (Instrument Control Toolbox).

Related Documentation: instrreset (Instrument Control Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

For additional information, see intlinprog "legacy" algorithm removed (Optimization Toolbox).

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Error

Related Documentation: intlinprog (Optimization Toolbox)

Severity: Warning

Severity: Error

Related Documentation: map.geodesy.IsometricLatitudeConverter (Mapping Toolbox)

Severity: Error

Related Documentation: augmentedImageSource (Deep Learning Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Related Documentation: labelvolshow (Image Processing Toolbox)

Severity: Error

Severity: Error

Related Documentation: comm.LDPCDecoder (Communications Toolbox)

Severity: Error

Related Documentation: comm.LDPCEncoder (Communications Toolbox)

Severity: Error

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: linprog (Optimization Toolbox)

Severity: Error

Related Documentation: linprog (Optimization Toolbox)

Severity: Error

Related Documentation: linprog (Optimization Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: areamat (Mapping Toolbox)

Severity: Error

Related Documentation: contour3m (Mapping Toolbox)

Severity: Error

Related Documentation: contourfm (Mapping Toolbox)

Severity: Error

Related Documentation: contourm (Mapping Toolbox)

Severity: Error

Related Documentation: findm (Mapping Toolbox)

Severity: Error

Related Documentation: filterm (Mapping Toolbox)

Severity: Error

Related Documentation: grid2image (Mapping Toolbox)

Severity: Error

Related Documentation: gradientm (Mapping Toolbox)

Severity: Error

Related Documentation: geotiffwrite (Mapping Toolbox)

Severity: Error

Related Documentation: imbedm (Mapping Toolbox)

Severity: Error

Related Documentation: los2 (Mapping Toolbox)

Severity: Error

Related Documentation: neworig (Mapping Toolbox)

Severity: Error

Related Documentation: mapoutline (Mapping Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: mapprofile (Mapping Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: meshlsrm (Mapping Toolbox)

Severity: Error

Related Documentation: meshm (Mapping Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: vec2mtx (Mapping Toolbox)

Severity: Error

Related Documentation: viewshed (Mapping Toolbox)

Severity: Error

Related Documentation: worldfilewrite (Mapping Toolbox)

Severity: Warning

Related Documentation: mfilt.cascade (DSP System Toolbox)

Severity: Error

For more information, see Validate Property Values.

Related Documentation: Validate Property Values

Severity: Warning

Related Documentation: mfilt.cicdecim (DSP System Toolbox)

Severity: Error

Severity: Error

Related Documentation: mfilt.cicinterp (DSP System Toolbox)

Severity: Error

Related Documentation: Property Attributes

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Error

Related Documentation: dted (Mapping Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: mfilt.farrowsrc (DSP System Toolbox)

Severity: Warning

Related Documentation: mfilt.firdecim (DSP System Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: mfilt.fftfirinterp (DSP System Toolbox)

Severity: Error

Related Documentation: mfilt.firinterp (DSP System Toolbox)

Severity: Warning

Related Documentation: mfilt.firsrc (DSP System Toolbox)

Severity: Warning

Related Documentation: mfilt.firtdecim (DSP System Toolbox)

Severity: Error

Related Documentation: mfwdtran (Mapping Toolbox)

Severity: Error

Related Documentation: mfilt.holdinterp (DSP System Toolbox)

Severity: Warning

Related Documentation: mfilt.iirdecim (DSP System Toolbox)

Severity: Error

Related Documentation: midtest (Instrument Control Toolbox)

Severity: Error

Related Documentation: midedit (Instrument Control Toolbox)

Severity: Error

Related Documentation: mfilt.iirinterp (DSP System Toolbox)

Severity: Error

Related Documentation: minvtran (Mapping Toolbox)

Severity: Warning

Related Documentation: mfilt.iirwdfdecim (DSP System Toolbox)

Severity: Warning

Related Documentation: mfilt.iirwdfinterp (DSP System Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: makemid (Instrument Control Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: mfilt.linearinterp (DSP System Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: matlab.System

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Error

Instead of using the nanm function, create a geographic cells reference object using the georefcells function and a matrix of NaN values using the NaN function. This example shows how to update your code.

Will be removedRecommended
[Z,refvec] = nanm(latlim,lonlim,scale);
R = georefcells(latlim,lonlim,1/scale,1/scale);
Z = NaN(R.RasterSize);

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: nargoutchk

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

For more information, see comm.OQPSKDemodulator (Communications Toolbox).

Severity: Error

For more information, see comm.OQPSKModulator (Communications Toolbox).

Severity: Error

Instead of using the onem function, create a geographic cells reference object using the georefcells function and a matrix of ones using the ones function. This example shows how to update your code.

Will be removedRecommended
[Z,refvec] = onem(latlim,lonlim,scale);
R = georefcells(latlim,lonlim,1/scale,1/scale);
Z = ones(R.RasterSize);

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Unified Architecture (Industrial Communication Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: solve (Optimization Toolbox)

Severity: Error

Related Documentation: solve (Optimization Toolbox)

Severity: Error

Related Documentation: solve (Optimization Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Error

Severity: Error

For additional information, see parcorr (Econometrics Toolbox).

Related Documentation: parcorr (Econometrics Toolbox)

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: propagationModel (Communications Toolbox)

Severity: Error

Related Documentation: propagationModel (Communications Toolbox)

Severity: Error

Related Documentation: propagationModel (Communications Toolbox)

Severity: Error

Related Documentation: propagationModel (Communications Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Replace ComputingSettings.Batch with either MergedComputingSettings.BatchBugFinder or MergedComputingSettings.BatchCodeProver. For example, for Polyspace® Bug Finder™ options myOpts, change myOpts.ComputingSettings.Batch to myOpts.MergedComputingSettings.BatchBugFinder.

Replace ComputingSettings.AddToResultsRepository with either MergedComputingSettings.AddToResultsRepositoryBugFinder or MergedComputingSettings.AddToResultsRepositoryCodeProver. For example, for Polyspace Code Prover™ option myOpts, change myOpts.ComputingSettings.AddToResultsRepository to myOpts.MergedComputingSettings.AddToResultsRepositoryCodeProver.

For more information, see polyspace.Project.Configuration properties in the Polyspace Bug Finder or Polyspace Code Prover documentation.

Severity: Error

Use MergedReporting instead of Reporting for polyspace.Options. All sub-properties remain the same except ReportTemplate, which can be replaced by either BugFinderReportTemplate or CodeProverReportTemplate.

For more information, see polyspace.Project.Configuration properties in the Polyspace Bug Finder or Polyspace Code Prover documentation.

Severity: Error

Related Documentation: geodeticLatitudeFromParametric (Mapping Toolbox)

Severity: Warning

Severity: Error

Severity: Error

Related Documentation: printopt

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: print

Severity: Error

Related Documentation: price2ret (Econometrics Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Error

For more information, see Communications Toolbox Release Notes (Communications Toolbox).

Severity: Warning

Severity: Error

Related Documentation: Property Attributes

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

The randseed function has been removed. Use either of these syntaxes for the rng function instead: rng(seed) or rng('shuffle').

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: raytrace (Communications Toolbox)

Severity: Error

Related Documentation: map.geodesy.RectifyingLatitudeConverter (Mapping Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: ret2price (Econometrics Toolbox)

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

For information about upgrading data definitions for your hardware, see Upgrade Data Definitions for Hardware Devices (MATLAB Coder).

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: sdtsinfo (Mapping Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Related Documentation: ver

Severity: Error

Severity: Warning

Severity: Warning

The session interface object, along with its functions and properties, will be removed in a future release.

To access a data acquisition device, use a DataAcquisition object with its functions and properties instead. For more information, see Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox).

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

The session interface object and its queueOutputData function will be removed in a future release.

To access a data acquisition device, use a DataAcquisition object with its functions and properties instead. You can replace the queueOutputData function with one of the following:

  • Use preload if the DataAcquisition is not running and you do not want to start it at this time. This is necessary before starting background operations.

  • Use write if you want to immediately start the DataAcquisition with the data you are writing (foreground), or if the DataAcquisition is already running and you want to add output data (background).

For more information, see Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox).

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Warning

Related Documentation: Transition Your Code from Session to DataAcquisition Interface (Data Acquisition Toolbox)

Severity: Error

Related Documentation: MException.last

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

sllastdiagnostic and sllasterror will be removed in a future release. To obtain information about an error (such as the message ID and the stack trace), use an identifier on the catch block instead.

If you specify a variable with a catch block and an error occurs in the try block, MATLAB enters the catch block and assigns the MException object to the catch variable. The MException object contains the error message, the message ID, and the stack trace. To pass this information to a calling function, either return the MException object as an output of your function, or call its rethrow method to rethrow the error. There is no need to save and restore sllasterror around such a try/catch block.

Specify a variable with a catch block, as described in ”The try-catch Statement”.

Severity: Warning

sllastdiagnostic and sllasterror will be removed in a future release. To obtain information about an error (such as the message ID and the stack trace), use an identifier on the catch block instead.

If you specify a variable with a catch block and an error occurs in the try block, MATLAB enters the catch block and assigns the MException object to the catch variable. The MException object contains the error message, the message ID, and the stack trace. To pass this information to a calling function, either return the MException object as an output of your function, or call its rethrow method to rethrow the error. There is no need to save and restore sllasterror around such a try/catch block.

Specify a variable with a catch block, as described in ”The try-catch Statement”.

Severity: Warning

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

The smithchart function returns a handle to the Smith chart object and, optionally, a vector of lineseries objects. The smithplot function returns only a smithplot object, which enables you to easily control plotting features. For example, consider the following code.

data = [-0.4+0.02i -0.05+0.63i 0.32+0.71i 0.5+0.67i];
[hlineseries,hsc] = smithchart(data);
hlineseries.LineWidth = 2;
hsc.Type = 'Y';

The following code produces an equivalent Smith chart using smithplot instead.

data = [-0.4+0.02i -0.05+0.63i 0.32+0.71i 0.5+0.67i];
smithplot(data,'LineWidth',2,'GridType','Y');

If your code uses the lineseries or smithchart handles, rewrite your code to use the equivalent properties of smithplot. For example, to replace the smithchart property Value, use 'GridValue' in the call to smithplot.

Otherwise just replace the call to smithchart with a call to smithplot.

For more information, see smithplot in the RF Toolbox™ or Antenna Toolbox™ documentation.

Severity: Warning

For additional information, see Axes Properties.

Related Documentation: Axes Properties

Severity: Warning

For additional information, see Axes Properties.

Related Documentation: Axes Properties

Severity: Warning

For additional information, see Text Properties.

Related Documentation: Text Properties

Severity: Warning

The GraphicsSmoothing property of figures and the FontSmoothing property of axes, rulers, geographic scales, and text objects will be removed in a future release. All graphics will be smooth and all text will use antialiasing when these properties are removed.

Related Documentation: Figure

Severity: Warning

Related Documentation: Figure

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Related Documentation: Transition Your Code to serialport Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

For more information, see Transition Your Code to serialport Interface.

Severity: Error

Instead of using the spzerom function, create a geographic cells reference object using the georefcells function and a matrix of NaN values using the NaN function. This example shows how to update your code.

Will be removedRecommended
[Z,refvec] = spzerom(latlim,lonlim,scale);
R = georefcells(latlim,lonlim,1/scale,1/scale);
Z = sparse(R.RasterSize(1),R.RasterSize(2));

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Warning

Related Documentation: savefig

Severity: Warning

Related Documentation: Simulink.VariantUtils.convertToVariantSubsystem (Simulink)

Severity: Warning

Related Documentation: Simulink.VariantUtils.convertToVariantAssemblySubsystem (Simulink)

Severity: Error

Severity: Error

svmsmoset has been removed.

Replace all instances of svmsmoset with the corresponding name-value pair argument to fitcsvm.

  • Instead of svmsmoset('TolKKT',value) use fitcsvm(X,Y,'DeltaGradientTolerance',value). For equivalent functionality, the 'Solver' must have a value of 'SMO'.

  • Instead of svmsmoset('MaxIter',value) use fitcsvm(X,Y,'IterationLimit',value).

  • Instead of svmsmoset('Display',value) use fitcsvm(X,Y,'Verbose',value). The values for 'Verbose' do not directly correspond to the values for 'Display'.

  • There is no replacement for svmsmoset('KKTViolationLevel',value).

  • Instead of svmsmoset('KernelCacheLimit',value) use fitcsvm(X,Y,'CacheSize',value). The values for 'CacheSize' do not directly correspond to the values for 'KernelCacheLimit'.

For more information, see the fitcsvm reference page in the Statistics and Machine Learning Toolbox documentation.

Severity: Error

Severity: Warning

Related Documentation: Simulink.VariantUtils.variantLegend (Simulink)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Error

Support for reading the TerrainBase Global Terrain Model will be removed in a future release. For alternative terrain models you can use with the readgeoraster (Mapping Toolbox) function, see Find Geospatial Raster Data (Mapping Toolbox).

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Error

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Error

The testconsole.Results object has been removed. To compute error rates, use the comm.ErrorRate (Communications Toolbox) System object or the Bit Error Rate Analysis (Communications Toolbox) app instead.

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpclient Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpclient Interface (Instrument Control Toolbox).

Severity: Error

Related Documentation: Test and Measurement Tool (Instrument Control Toolbox)

Severity: Error

Severity: Error

treedisp has been removed.

Replace instances of treedisp with the view method of a ClassificationTree object (created using fitctree) or RegressionTree object (created using fitrtree).

For more information, see the view method reference page of the ClassificationTree or RegressionTree class in the Statistics and Machine Learning Toolbox documentation.

Severity: Error

treefit has been removed.

To create a classification tree, use fitctree to construct a ClassificationTree object.

To create a regression tree, use fitrtree to construct a RegressionTree object.

For more information, see the fitctree or fitrtree reference pages in the Statistics and Machine Learning Toolbox documentation.

Severity: Error

treeprune has been removed.

Replace instances of treeprune with the prune method of a ClassificationTree object (created using fitctree) or RegressionTree object (created using fitrtree).

For more information, see the prune method reference page of the ClassificationTree or RegressionTree class in the Statistics and Machine Learning Toolbox documentation.

Severity: Error

treetest has been removed.

Create a tree object, T, using fitctree for a ClassificationTree object or fitrtree for a RegressionTree object, and replace treetest with the appropriate method.

  • Replace treetest(T,'resubstitution') with resubLoss(T).

  • Replace treetest(T,'test',X,Y) with loss(T,X,Y).

  • Replace treetest(T,'crossvalidate',X,Y) with cvloss(T).

For more information, see the resubLoss, loss, or cvloss method reference pages of the ClassificationTree or RegressionTree class in the Statistics and Machine Learning Toolbox documentation.

Severity: Error

treeval has been removed.

Replace instances of treeval with the predict method of a ClassificationTree object (created using fitctree) or RegressionTree object (created using fitrtree).

For more information, see the predict method reference page of the ClassificationTree or RegressionTree class in the Statistics and Machine Learning Toolbox documentation.

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to tcpserver Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to tcpserver Interface (Instrument Control Toolbox).

Severity: Error

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to udpport Interface (Instrument Control Toolbox)

Severity: Error

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to udpport Interface (Instrument Control Toolbox).

Severity: Warning

Although most operators work from left to right, the operators ^-, .^-, ^+, .^+, ^~, and .^~ work from second from the right to left. For more information, see Operator Precedence.

Use parentheses to specify the intended precedence of statements containing these operator combinations explicitly.

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Severity: Warning

The function 'wlanVHTDataRecover' is a legacy bit recovery function for the VHT-Data field and will be removed in a future release of MATLAB. A combination of the wlanVHTDemodulate, wlanVHTEqualize, wlanVHTTrackPilotError, and wlanVHTDataBitRecover functions should be used instead. For further information on how to migrate your code to the new VHT-Data recovery procedure, please read Update Code for VHT Reception (WLAN Toolbox).

Severity: Warning

The function wlanVHTLTFDemodulate is a legacy demodulation function for the VHT-LTF field and will be removed in a future release of MATLAB. The wlanVHTDemodulate function should be used instead. For further information on how to migrate your code to use the new demodulation function, please read Update Code for VHT Reception (WLAN Toolbox).

Severity: Warning

The function wlanVHTSIGARecover is a legacy bit recovery function for the VHT-SIG-A field and will be removed in a future release of MATLAB. A combination of the wlanVHTDemodulate, wlanVHTEqualize, wlanVHTTrackPilotError, and wlanVHTSIGABitRecover functions should be used instead. For further information on how to migrate your code to the new VHT-SIG-A recovery procedure, please read Update Code for VHT Reception (WLAN Toolbox).

Severity: Warning

The function wlanVHTSIGBRecover is a legacy bit recovery function for the VHT-SIG-B field and will be removed in a future release of MATLAB. A combination of the wlanVHTDemodulate, wlanVHTEqualize, wlanVHTTrackPilotError, and wlanVHTSIGBBitRecover functions should be used instead. For further information on how to migrate your code to the new VHT-SIG-B recovery procedure, please read Update Code for VHT Reception (WLAN Toolbox).

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: Viewer Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Viewer Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Viewer Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Viewer Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Viewer Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Volume Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Viewer Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Volume Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Viewer Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Volume Properties (Image Processing Toolbox)

Severity: Error

Related Documentation: Volume Properties (Image Processing Toolbox)

Severity: Error

Severity: Error

The vr.canvas has been removed. For alternate functionality, see Transition Virtual Reality World to Unreal Engine 3D Environment (Simulink 3D Animation).

Related Documentation: vr.canvas (Simulink 3D Animation)

Severity: Error

The vredit has been removed. For alternate functionality, see Transition Virtual Reality World to Unreal Engine 3D Environment (Simulink 3D Animation).

Related Documentation: vredit (Simulink 3D Animation)

Severity: Error

The vrfigure has been removed. For alternate functionality, see Transition Virtual Reality World to Unreal Engine 3D Environment (Simulink 3D Animation).

Related Documentation: vrfigure (Simulink 3D Animation)

Severity: Error

Related Documentation: vrjoystick (Simulink 3D Animation)

Severity: Error

The vrnode has been removed. For alternate functionality, see Transition Virtual Reality World to Unreal Engine 3D Environment (Simulink 3D Animation).

Related Documentation: vrnode (Simulink 3D Animation)

Severity: Error

The vrplay has been removed. For alternate functionality, see Transition Virtual Reality World to Unreal Engine 3D Environment (Simulink 3D Animation).

Related Documentation: vrplay (Simulink 3D Animation)

Severity: Error

Related Documentation: vrspacemouse (Simulink 3D Animation)

Severity: Error

The vrview has been removed. For alternate functionality, see Transition Virtual Reality World to Unreal Engine 3D Environment (Simulink 3D Animation).

Related Documentation: vrview (Simulink 3D Animation)

Severity: Error

The vrworld has been removed. For alternate functionality, see Transition Virtual Reality World to Unreal Engine 3D Environment (Simulink 3D Animation).

Related Documentation: vrworld (Simulink 3D Animation)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Related Documentation: Transition Your Code to visadev Interface (Instrument Control Toolbox)

Severity: Warning

For more information, see Transition Your Code to visadev Interface (Instrument Control Toolbox).

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Severity: Warning

Severity: Warning

The web function currently opens external sites using your system browser by default, unless configured otherwise in the MATLAB Web Preferences. For a site that opens in the system browser, the returned handle or URL will be empty.

In a future release, the web function will open sites only in the system browser. Therefore, MATLAB will produce an error if your code contains a web syntax that returns a handle or URL.

Remove the handle and URL output arguments of the web function. Consider using the '-browser' option to open all pages in your system browser. This table shows some examples of how you can update your code.

Before After
[stat,h] = web('https://www.mathworks.com');
 
stat = web('https://www.mathworks.com','-browser');
[stat,h,url] = web('https://www.mathworks.com');
 
stat = web('https://www.mathworks.com','-browser');

Severity: Error

Related Documentation: wblcdf (Statistics and Machine Learning Toolbox)

Severity: Error

Related Documentation: wblfit (Statistics and Machine Learning Toolbox)

Severity: Error

Related Documentation: wblinv (Statistics and Machine Learning Toolbox)

Severity: Error

Related Documentation: wbllike (Statistics and Machine Learning Toolbox)

Severity: Error

Severity: Error

Related Documentation: wblplot (Statistics and Machine Learning Toolbox)

Severity: Error

Related Documentation: wblrnd (Statistics and Machine Learning Toolbox)

Severity: Error

Related Documentation: wblstat (Statistics and Machine Learning Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: worldfileread (Mapping Toolbox)

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: whitebg

Severity: Warning

Severity: Error

Severity: Error

For more information, see WLAN Toolbox Release Notes (Aerospace Toolbox).

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For additional information, see crosscorr (Econometrics Toolbox).

Related Documentation: crosscorr (Econometrics Toolbox)

Severity: Warning

Severity: Error

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Error

Related Documentation: zadoffChuSeq (Communications Toolbox)

Severity: Error

Instead of using the zerom function, create a geographic cells reference object using the georefcells function and a matrix of zeros using the zeros function. This example shows how to update your code.

Will be removedRecommended
[Z,refvec] = zerom(latlim,lonlim,scale);
R = georefcells(latlim,lonlim,1/scale,1/scale);
Z = zeros(R.RasterSize);

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Forward Compatibility Considerations

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Good Practices

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

If you specify an attribute value using an expression, the expression must evaluate to true or false. The Code Analyzer is unable to determine the value of the expression assigned to the attribute.

Use an expression for the value of the attribute that evaluates to logical true or false . Do not use any definitions from the class file in the expression, including any constant properties, static methods, and local functions.

You can set the value of the attribute to true by specifying the attribute name alone or the value to false by preceding its name with a tilde (~). You can also assign true or false to the attribute name.

For more information, see Expressions in Attribute Specifications.

Severity: Warning

Setting the class attribute Abstract to false causes an error if that class then does any of the following.

  • Contains any abstract methods or properties

  • Inherits and does not implement abstract methods or properties

Do not set the Abstract attribute in this class definition. It is a good practice to set the Abstract class attribute to true or not to set it at all.

Severity: Warning

It appears the code sets the specified variable with an operator that does not yield a logical value where Code Analyzer expects one. Code Analyzer can incorrectly display this message if the operator is overloaded. For information on overloading operators, see “Implementing Operators for Your Class”.

If Code Analyzer evaluated the code correctly, rewrite it to set the variable to a logical value. Otherwise, suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

It appears the code sets the variable with an operator that does not yield a scalar value where Code Analyzer expects one. This message can be incorrect if the operator is overloaded. For information on overloading operators, see “Implementing Operators for Your Class”.

If Code Analyzer evaluated the code correctly, rewrite it to set the variable to a scalar value. Otherwise, suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

MATLAB does not support using this syntax to compare b to a and c using logical operators, e.g. <, >=, ==, etc.

Instead, MATLAB evaluates operators of equal precedence from left to right. This means that the statement, a < b < c, is equivalent to the statement (a < b) < c, comparing the logical result of a < b (either 0 or 1) to the value c. Statements using this type of interval testing rarely yield useful results.

Break the comparison, a < b < c, into a series of binary comparisons. If all arguments are numeric scalars, use the form:

(a < b) && (b < c)
Otherwise, use the form:
(a < b) & (b < c)

For more information, see Operator Precedence.

Severity: Warning

Comment with percent (%) following comma acts as a row separator. Your use of a comma suggests that you are trying to create a row vector, rather than a column vector. Within array initializations, this can cause unintended errors by spitting an into separate rows in unintended locations.

To comment within an array without splitting rows, replace the percent (%) with an ellipsis(…).

OldNew

The comment acts as a row separator causing the array to have uneven dimensions.

This generates an error.

x = [ 1, 2, ...
      % My comment
      3, 4, ...
      5, 6];

The comment does not act as a row separator.

x = [ 1, 2, ...
      ... My comment
      3, 4, ...
      5, 6];

If the row separation is intentional, replace the comma with a semicolon to make the row separation clearer.

Severity: Warning

A comparison operator is applied to a function that returns logical values (true or false). In this case, the comparison always returns the same value as the logical function. Therefore, it is either unnecessary or performed incorrectly.

If you want to perform a comparison, rewrite your code by placing the operator inside the function call. Otherwise, simplify your code by replacing the comparison statement with the function call.

This example shows how to rewrite your code. Option 1 (B1) shows how to simplify your code to determine whether all elements in each column of a matrix A are nonzero. Option 2 (B2) shows how to perform a comparison to determine whether all elements in each column of A are equal to 1.

Original Revised
A = [0 3 5 1; 0 0 -2 1];
B = all(A)==1;  % B = [0 0 1 1]
 
A = [0 3 5 1; 0 0 -2 1];
B1 = all(A);  % B1 = [0 0 1 1]
B2 = all(A==1);  % B2 = [0 0 0 1] 

Severity: Warning

A comparison operator is applied to a function that returns logical values (true or false). In this case, the comparison always returns the logical negation of the function output. Therefore, it is either unnecessary or performed incorrectly.

If you want to perform a comparison, rewrite your code by placing the operator inside the function call. Otherwise, simplify your code by replacing the comparison statement with the logical negation of the function call.

This example shows how to rewrite your code. Option 1 (B1) shows how to simplify your code to determine whether one or more elements in each column of a matrix A are 0. Option 2 (B2) shows how to perform a comparison to determine whether all elements in each column of A are equal to 0.

Original Revised
A = [0 3 5 1; 0 0 -2 1];
B = all(A)==0;  % B = [1 1 0 0]
 
A = [0 3 5 1; 0 0 -2 1];
B1 = ~all(A);  % B1 = [1 1 0 0]
B2 = all(A==0);  % B2 = [1 0 0 0] 

Severity: Warning

Because the code has never initialized the indicated name, Code Analyzer treats it as a function call. However, because this call occurs within a class method and there is a property with the same name as the apparent function being called, it is unclear whether you intended to refer to the property rather than to a function of the same name. Even if the code is correct it might confuse others who read the code.

For information about using properties in methods, see Ways to Use Properties.

If you want to refer to a property of an object, find the appropriate object (often the first input argument of the method) and place the object name and a dot before the property name.

If you want to call a function that has the same name as a property in the class, consider renaming the property to avoid confusing someone unfamiliar with the code.

If you want to keep the current name, suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

When an error occurs in a try block, MATLAB transfers control to the catch block. If the catch block has an identifier, MATLAB enters the catch block with the identifier set to an MException object that contains the error message, the message ID, and the stack trace. You can use this object with functions such as rethrow to pass the error to the code that called it. Not only does the object always contain information about the correct error, there is no longer any need to save the lasterr around the try/catch block to avoid breaking old code. For more information, see “Capturing Information About the Error”.

Use an identifier on the catch block. If the catch block has an identifier, the state of lasterr and lasterror are unchanged. Typically, you can replace a call to lasterror with the catch block identifier, and you can replace a call to lasterr by referencing the message field of this identifier. You can probably remove any code that saves the previous state of lasterr and lasterror. The resulting code is typically smaller, clearer, and faster than the older code.

Severity: Warning

Severity: Warning

In analyzing a call to a function that uses a format specifier to guide its operation, Code Analyzer has determined that the number of format operators (%d,%f, and so on) does not match the number of arguments supplied. This message is typically the result of one of the following:

  • The code supplies more arguments than the format specifies.

  • The format requires arguments, but the code supplies none.

Be aware that Code Analyzer processes format specifiers differently from C or C++, so the rules for matching arguments to the format specifiers are also different. For details, see “Formatting Strings”.

Note that Code Analyzer can display this message erroneously for error or warning functions, because Code Analyzer is also trying to determine whether the first argument is a message ID or a format specifier.

Make sure that the number of supplied values matches the number of format operators. If not, fix the code. If the message is incorrect, suppress it as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

To customize display of your object, it is best practice to either subclass matlab.mixin.CustomDisplay or overload the disp (DSP System Toolbox) function. It is rarely necessary to overload display.

MATLAB calls the display function whenever an object is referred to in a statement that is not terminated by a semicolon. If an assignment is made, the display function prints the name of the variable that is being displayed. Otherwise display uses ans as the variable name. The display function then calls disp to handle the actual display of the values. For more information, see Overload the disp Function.

Severity: Warning

Severity: Warning

The arguments to a MATLAB command (or a declaration such as global or persistent) are typically a sequence of character vectors or names with spaces separating them. Code Analyzer has found a comma in such a sequence. Rather than separating the arguments, the comma ends the statement.

If you intended to specify a sequence of command arguments, replace the comma with white space.

If you intended to end the command, use a semicolon instead of a comma.

Severity: Warning

Most functions do not allow repeated named arguments. Any function that uses an arguments block only uses the last supplied value for a given named argument.

Remove duplicate named arguments.

OldReplacement
ax = axes;
Y = meshgrid(1:5);
b = bar(Y);
set(b([3 4 2 1 5]),Parent=[],Parent=ax)
ax = axes;
Y = meshgrid(1:5);
b = bar(Y);
set(b([3 4 2 1 5]),Parent=ax)

Severity: Warning

Severity: Warning

Severity: Warning

MATLAB is unable to analyze code within statements called by eval. This prevents MATLAB from performing any performance optimization and limits the guidance that the editor is able to provide. This makes code less efficient and difficult to debug.

Furthermore, concatenated character vectors within an eval statement are often difficult to read. This makes code less clear and causes issues with sharing and maintaining code.

To allow MATLAB to perform performance optimization, call the statement directly.

OldNew
str = ([ 'save("a.mat");']);    
eval(str); 
save("a.mat");

Severity: Warning

MATLAB is unable to analyze code within statements called by eval. This prevents MATLAB from performing any performance optimization and limits the guidance that the editor is able to provide. This makes code less efficient and difficult to debug.

Furthermore, concatenated character vectors within an eval statement are often difficult to read. This makes code less clear and causes issues with sharing and maintaining code.

Structure fields or object properties can be accessed using dynamic field names. The example shows how code using eval to assign numbered field names can be refactored to use dynamic field names.

OldNew
for i = 1:5
    eval(['handles.axes', num2str(i)]) 
end
for i = 1:5
    handles.("axes" + num2str(i))
end

MATLAB is able to detect that fields of handles will be accessed and this allows performance optimization.

For more information, see Generate Field Names from Variables .

Severity: Warning

MATLAB is unable to analyze code within statements called by eval. This prevents MATLAB from performing any performance optimization and limits the guidance that the editor is able to provide. This makes code less efficient and difficult to debug.

Furthermore, concatenated character vectors within an eval statement are often difficult to read. This makes code less clear and causes issues with sharing and maintaining code.

Use function syntax instead of using eval to use command syntax. This allows you to pass variables as inputs. For example:

OldNew
eval(['load ' theFilename])
load(theFilename)
eval(['save ' theFilename ' bigArray'])
save(theFilename, "bigArray")
eval(['cd ' labdata])
cd(labdata)
eval(['mex ', myOptions, ' -c modlab.c '])
mex(myOptions, "-c", "modlab.c")
eval(['clear selectMode ' tempvar])
clear("selectMode", tempvar)

For more information see Choose Command Syntax vs Function Syntax

Severity: Warning

MATLAB is unable to analyze code within statements called by eval. This prevents MATLAB from performing any performance optimization and limits the guidance that the editor is able to provide. This makes code less efficient and difficult to debug.

Furthermore, concatenated character vectors within an eval statement are often difficult to read. This makes code less clear and causes issues with sharing and maintaining code.

To allow MATLAB to perform performance optimization, use the variable directly and use eval for the right hand side of the assignment.

OldNew
eval( [ 'signal=', varname, ';' ] )    
signal = eval(varname);

Severity: Warning

MATLAB cannot perform any performance optimization on statements called by eval. This can cause code to run less efficiently. eval statements make code less clear and cause issues with sharing and maintaining code. One use of the eval function is to create sets of variables such as A1, A2, ..., An, but this approach does not use the array processing power of MATLAB.

The preferred method is to store related data in a single array. If the data sets are of different types or sizes, use a structure or cell array.

For example, create a cell array that contains 10 elements, where each element is a numeric array:

OldNew
eval(['A', int2str(n),' = magic(n)'])
numArrays = 10;
A = cell(numArrays,1);

for n = 1:numArrays
    A{n} = magic(n);
end

Access the data in the cell array by indexing with curly braces. For example, display the fifth element of A:

A{5}
ans =
    17    24     1     8    15
    23     5     7    14    16
     4     6    13    20    22
    10    12    19    21     3
    11    18    25     2     9

For more information see Alternatives to the eval Function.

Severity: Warning

MATLAB cannot perform any performance optimization on statements called by eval. This can cause code to run less efficiently. eval statements make code less clear and cause issues with sharing and maintaining code.

To make calls to the operating system use the system function instead without the '!' at the beginning of the command:

OldNew
eval( [ '!open -a "Google Chrome" ''', openUrl, '''' ] )
system( [ 'open -a "Google Chrome" ''', openUrl, '''' ] ) 

Severity: Warning

Severity: Warning

If the name of the main function does not match the name of the file that contains it, MATLAB ignores the function name and uses the file name instead. Sometimes this occurs when you move a function from one file to another, but do not change the name of the function.

Change the main function name so that it matches the file name.

Severity: Warning

Severity: Warning

It appears that the index value of the indicated for loop changes inside the loop body. Because MATLAB resets the loop index to the next value when it returns to the top of the loop, it ignores any changes to the index variable that took place within a loop.

Change the name of either the for loop index variable or the variable in the loop.

OldReplacement
for ind = 1:10
    ind = ind + 1;
end
for ind = 1:10
    newind = ind + 1;
end

Severity: Warning

It appears that the index value of the indicated for loop reuses the name of an outer loop index. Because MATLAB resets the loop index to the next value when it returns to the top of the outer loop, it ignores any changes that took place within a nested loop. If the code does not to refer to the outer loop index value after the inner loop changes it, no problem results. However if you attempt to use the outer loop index value after the inner loop completes, it is likely to result in a bug.

Change the name of one of the for loop indexes.

OldReplacement
for ind = 1:10
    for ind = 1:10;
    end
end
for ind1 = 1:10
    for ind2 = 1:10;
    end
end

Severity: Warning

It appears that the index value of a for loop changes within a nested function. In some cases, nested functions can be called by callbacks or other function calls leading to the loop index changing. This kind of bug is exceptionally hard to find, so Code Analyzer signals this situation even though in many cases the usage is benign.

Change the name of the for loop index or the variable of the same name in the nested function. If you must keep them as is, add a comment indicating the need and suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

It appears the code calls the specified MATLAB library function with too many arguments. This message can be incorrect if the code is using an overloaded function in a class, and the overloaded function has different calling conventions than the MATLAB library function.

Check the function call to ensure that you specified the required number of arguments. If you are using an overloaded function, consider suppressing the message as described in Adjust Code Analyzer Message Indicators and Messages. For information on overloading functions, see “Overloading Functions for Your Class”.

Severity: Warning

Global variables have their own workspace, which is separate from the base and function workspaces.

Using global variables is inefficient. MATLAB applies memory optimization to input variables in functions, but not to global variables. For more information see Avoid Unnecessary Copies of Data.

Also, global variables carry notable risks. Any function can access and update a global variable. Other functions that use the variable might return unexpected results. For example:

  • If you unintentionally give a “new” global variable the same name as an existing global variable, one function can overwrite the values expected by another. This error is difficult to diagnose.

  • If a global variable is changed in multiple functions, calling those functions in a different order can lead different results.

Use global variables sparingly, if at all.

For more information on variables and the workspace, see Global Variables subsection on Share Data Between Workspaces page.

Severity: Warning

The context surrounding this expression expects a scalar value but == or ~= return a nonscalar array.

Consider using isequal instead of == or ~isequal instead of ~=.

OldReplacement
if [2] == {1, 2, 3}
end
if isequal([2],{1, 2, 3})
end
if [2] ~= {1, 2, 3}
end
if ~isequal([2],{1, 2, 3})
end

Severity: Warning

Code Analyzer cannot resolve the types of variables in this region of the program consistently, which can indicate a bug or inefficiency in the code. For example, the code might assign different types to a variable. Furthermore, due to the dynamic nature of MATLAB, other messages in this region of the program might be incorrect.

Review your code, including a search for typographical errors, and make sure the code assigns types to variables appropriately. Even if your code assigns types appropriately and is correct technically, consider rewriting it to clarify your intent. Typically, if Code Analyzer cannot analyze your code correctly, people can have difficultly understanding it as well. In addition, rewriting your code may resolve this message and any erroneous messages that appear in this region of the code.

If you prefer to keep your code as it is, suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

Severity: Warning

When you load data from a file, there might be conflicts with functions on the path, which include MATLAB built-in functions. Consider the following function in which myData.mat contains the variable theta.

function z = myFun
    load myData.mat
    z = theta(1);
end

If there is a function theta on the MATLAB path, the variable theta conflicts with the function theta. To avoid possible conflict, specify the theta variable in the call to load.

function z = myFun
    load myData.mat theta
    z = theta(1);
end

To avoid conflict with functions on the path, load data from a file using one of these syntaxes.

  • Specify variables to load. For example,

    load mydata.mat a b c
    load('mydata.mat','a','b','c')
  • Specify an output argument to load data into a structure or array. For example,

    S = load('mydata.mat')

Best practice is to load only the variables you will use or load the variables into a structure. For more information, see load (Instrument Control Toolbox).

Severity: Warning

Using max on a logical expression makes code difficult to read and might be incorrect.

To determine if one or more entries in an array are true, use any instead. For example:

OldReplacement
max(x == y)
any(x == y)

Severity: Warning

Using min on a logical expression makes code difficult to read and might be incorrect.

To determine if all entries in an array are true, use all instead. For example:

OldReplacement
min(x == y)
all(x == y)

Severity: Warning

Using prod on a logical expression makes code difficult to read and may be incorrect.

To determine if all entries in an array are true, use all instead. For example:

OldReplacement
prod(x == y)
all(x == y)

Severity: Warning

It appears the code calls the specified MATLAB library function with too few arguments. This message can be incorrect if the code is using an overloaded function in a class, and the overloaded function has different calling conventions than the MATLAB library function.

Check the function call to ensure that you specified the required number of arguments. If you are using an overloaded function, consider suppressing the message as described in Adjust Code Analyzer Message Indicators and Messages. For information on overloading functions, see “Overloading Functions for Your Class”.

Severity: Warning

An expression exists that is equivalent to a : b : c : d. Although MATLAB will execute the code, it is unlikely to return your intended results.

For example, suppose your code is this:

a:b+c:d+a:b

Due to operator precedence rules, MATLAB processes the code as though you specified parenthesis, like this:

a:(b+c):(d+a):b

Rewrite the code to remove one or more of the colons.

For more information, see “Operator Precedence”.

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Property default value expressions are executed exactly once per class and shared for all instances of the class. When the value of a default is a handle object, all instances share the same handle.

To ensure a new handle is created for each instance of a class, move the assignment to the constructor. To make all instances of a class share the same handle, assign the value to a constant property. For more information see Initialize Property Values and Define Class Properties with Constant Values.

Severity: Warning

Severity: Warning

A class definition can reference properties, methods, or events only when they are defined in the class or in one of its superclasses.

To reference a property, method, or event of this class:

  • Fix the code on the indicated line if the property, method, or event has been defined in the class.

  • Define the property, method, or event in the class if the property, method, or event has not been defined.

If you want to use a property or method in this class but you want subclasses to provide its implementation, declare the property or method as an Abstract property or method in this class.

Severity: Warning

A class definition can reference properties only when they are defined in the class or in one of its superclasses.

To reference a property of this class:

  • Fix the code on the indicated line if the property has been defined in the class.

  • Define the property in the class if the property has not been defined.

If you want to use the property in this class but you want subclasses to provide its implementation, declare it as an Abstract property in this class.

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Code Analyzer has identified a reference to a second property within a set method for a non-dependent property. If the set method of one non-dependent property accesses another property, initialization of the property can fail because MATLAB does not guarantee the initialization order.

When MATLAB loads an object, the order in which the properties are set is not guaranteed. If a property is not set when your code expects it, a reference to that property can fail. For techniques to overcome this type of dependency, see Avoiding Property Initialization Order Dependency.

If the property that your set method is accessing is a transient property, order dependency problems still might occur during load. Make your property Dependent or Transient in order to avoid order dependencies. For more information, see Property Attributes.

It is not recommended that you suppress this Code Analyzer message, as others might attempt to save and reload objects from this class and see errors or get unpredictable results. A class definition with this warning may fail to load correctly in future versions of MATLAB.

Severity: Warning

Severity: Warning

Severity: Warning

For additional information, see Get and Set Methods for Dependent Properties.

Severity: Warning

Severity: Warning

The code calls the computer function with an argument (for example computer('arch')). On Windows systems, this returns win32 or win64, but never PCWIN or PCWIN64.

Replace the test with win32 or win64.

Severity: Warning

The indicated statement creates a numel(<arg>) by numel(<arg>) array. This is not a common use case and can lead to more memory usage than intended.

Rewrite the code to generate an array of data of the intended size and shape. For example, if the original call is ones(numel(x)), write:

  1. ones(numel(x), 1) to create a vector of ones with the same number of elements as x.

  2. ones(size(x)) to create an array of ones that is the same size as x.

  3. ones(numel(x), numel(x)) to create an array of ones that is numel(x) by numel(x).

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

The code contains evalin or assignin function calls within a parfor loop. These calls refer to the base workspaces of the workers and do not update the base workspace of the MATLAB client that issued the parfor loop.

Rewrite the code without using the evalin or assignin function calls. They can result in performance problems even in nonparallel loops.

Severity: Warning

Global and persistent variables behave differently in parfor loops than in for loops. Because parfor loops run on many different MATLAB workers simultaneously, there are many different active workspaces and global contexts. Some assignments to global or persistent variables inside parfor loops affect only the value of the variable on the MATLAB client. Some assignments do not affect either the value of the variable on the MATLAB client or the value of the variable on the MATLAB workers.

In other words, the behavior of global and persistent variables within parfor loops can be surprising and using these variables inside parfor loops should be avoided.

Change the program logic to not assign to global or persistent variables inside a parfor (MATLAB Coder) loop. For example, you can do either of the following:

  • Copy the global or persistent variable to a temporary variable before the parfor loop begins, and then copy it back to the global or persistent variable after the parfor loop ends.

  • Rewrite the code so that it does not use global or persistent variables.

Severity: Warning

The code uses a global variable in a parfor loop. Because parfor loops run on several different machines simultaneously, the global workspace might not be the same on each machine. Therefore, using a global variable in a parfor loop could have unpredictable or unexpected results.

Make local copies of the global variables that you want to use within the parfor (MATLAB Coder) loop before beginning the parfor loop.

Severity: Warning

It appears that the code uses the indicated variable inside a parfor (MATLAB Coder) loop, but evidently the code does not initialize the variable before the loop. This message can indicate:

  • A coding problem, because the code should initialize the variable.

  • Code Analyzer’s inability to determine when the code sets the variables. In this case, Code Analyzer could produce an incorrect message.

    For example, Code Analyzer could be unaware of variables set by the load (Instrument Control Toolbox) function.

If the code uses the variable, initialize it (for correctness and efficiency). If the message is incorrect, suppress it as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

The parfor (MATLAB Coder) function computes a variable in a loop body, but that variable is apparently unused after the loop completes. For example, a call to save (Instrument Control Toolbox) or eval might use the variable in such a way that Code Analyzer cannot detect.

If the variable is unnecessary, do not compute it. If it is necessary, use it and suppress the warning message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

The code uses the indicated variable as a reduction variable in the loop, but does not initialize it before the loop. If the variable is not initialized, the result might be undefined. The parfor function supports reductions, which are a kind of parallel construct. Reductions compute a value with contributions from all the iterations (for example, the sum of a vector), but the iterations can still run in an arbitrary order.

Initialize the reduction variable before the parfor (MATLAB Coder) loop starts. For more information, see Reduction Variables (Parallel Computing Toolbox).

Severity: Warning

The code computes the indicated variable in a parfor loop as a reduction variable, but it appears not to use the reduction variable after the loop. This could be the result of a typographical error in the variable name. However, Code Analyzer can produce this message inappropriately.

See also Reduction Variables (Parallel Computing Toolbox).

If the reduction variable is necessary, then use it after the parfor (MATLAB Coder) loop. If not, consider removing it. If the message is incorrect, suppress it as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

Severity: Warning

A class method refers to the indicated name as a local variable, but there is also a property of that name. Code Analyzer produces this message because the usage is confusing and might represent an error.

If you intend to reference the class property, precede the indicated name with an object and a dot. Often, the appropriate object is the first input argument of the method. For examples and more information, see Ways to Use Properties.

If you intend the indicated name to be a separate variable with the same name as the property, consider using a different name to avoid confusing someone unfamiliar with the code.

If you prefer to keep the current name, suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

An assignment statement makes an assignment to multiple values, but the expression on the right side of the assignment does not appear to produce multiple values. For example, code such as the following causes Code Analyzer to display this message:

[m, n] = [1, 2];

or

[m,n]= A + B;

Code Analyzer can incorrectly produce this message if scalar operators are overloaded. For information on overloading operators, see “Implementing Operators for Your Class.

If Code Analyzer evaluated the situation correctly, correct the code. Otherwise, suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

Severity: Warning

The indicated token appears to be the beginning of a statement that is not preceded by a separator (a comma, semicolon, or newline). Following conditional expressions inside of if, elseif, and while statements with a separator makes it clear and unambiguous where the expression ends and the next statement begins.

Sometimes, this message arises from a typographical error. For example, if you type:

 if  a ~  b

when you meant to type:

 if  a ~=  b

then MATLAB interprets a as the conditional expression, and ~ b as a statement to execute.

If the indicated token is the beginning of the next statement, precede the statement with a comma, semicolon, or newline character. If the message is the result of a typographical error, then correct it.

Severity: Warning

The indicated statement most likely will result in unexpected behavior. This is because the statements A && B and A || B always either return a logical value or throw an error.

Rewrite the code to perform the logical operation outside of the specified function.

For example, to determine whether the scalars a and b are both nonzero:

a = 1;
b = 2;
a && b

To determine if the arrays A and B each have at least one nonzero element:

A = [1 2 3];
B = [0 0 0];
any(A & B)

To determine whether any of the elements in array A and array B are nonzero:

A = [1 2 3];
B = [0 0 0];
any(A) && any(B)

To determine whether any of the elements in the array A are nonzero, and then determine the logical AND of the result and B:

 A = [1 2 3];
 B = [0 0 0];
any(A) && B 

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

The code compares a character vector to another scalar using either the equal to (==) or not equal to (~=) relational operator. MATLAB software returns an error at run time if the vectors being compared are different lengths.

Use the strcmp function instead of a relational operator or convert the character vector to a string scalar for direct comparison.

OldUse strcmp Convert to string
function tf = textEqualToFoo(text)
    tf = 'foo' == text
end
function tf = textEqualToFoo(text)
    tf = strcmp('foo',text)
end
function tf = textEqualToFoo(text)
    tf = "foo" == text
end

Severity: Warning

Severity: Warning

When you use isa, MATLAB returns true if the class name of the first input argument is either the specified class, or a subclass of the specified class. When you use strcmp, MATLAB returns true only if the input arguments match, and therefore subclasses are not considered a match.

If you want a comparison to return true only if the input arguments match, leave your code as is.

If you want a comparison to return true if the class of the first input argument matches, or is a subclass of the specified class, use isa.

For example, change code such as this,

strcmp(class(x),'className');

to this:

isa(x,'className');

Severity: Warning

Code Analyzer has identified a variable that appears to be a struct. It also appears that this struct variable had one or more fields changed, but the code never uses the variable, nor is the variable returned. This scenario indicates that the assignment to the variable has no effect.

Although Code Analyzer generates this message conservatively, it is possible for Code Analyzer to identify the variable incorrectly as a struct when it actually is an object. It is possible for an assignment to an object property to have side effects that make this assignment appropriate. If the object is a handle object, this usage is not only appropriate, but common.

If the message is appropriate, you can either:

  • Remove the assignment, if it is not useful

  • Correct the program so that it either assigns or returns the value

If the message is inappropriate, do one of the following:

  • Suppress the message for this assignment.

  • Suppress the message for the entire file.

  • Suppress this message for all files, if your programming style is such that this message frequently appears inappropriately.

For details, see Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

It appears the code compares two texts of different sizes, which will result in a run-time error. The source of the problem could be a program bug or a typographical error. However, complicated code can result in Code Analyzer generating this message inappropriately.

Change the code, if appropriate. You might consider using the strcmp function along with the strncmp, strfind, or strcmpi, function instead of the current code. Otherwise, suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

A try statement appears with no corresponding catch block; therefore, the code will not capture the error. Although this is valid code, it is not recommended, even if you know what the error is or are not concerned with what it is.

  1. Use a catch block and place an identifier after the catch keyword.

    When the catch block executes, the identifier is set to an object that contains the message, message ID, and call stack.

  2. Perform error cleanup, if needed.

  3. Use the message ID as an argument to the rethrow function.

    Ideally, check the message ID for all errors (including those you want to ignore, so as to avoid masking serious low-level errors).

    (For more information see the documentation for rethrow and MException.)

To disregard this suggestion, suppress the warning message, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Calling onCleanup(@functionhandle) without an output argument can lead to unexpected behavior that is difficult to debug.

Assign onCleanup(@functionhandle) to a variable. For more information, see “Clean Up When Functions Complete”.

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Sensitive information in MATLAB code is any information that provides access to data sources or services used in your workflow. Examples of sensitive information include passwords, certificates, credentials, OAuth tokens, and other configuration data. Keeping sensitive information out of code allows you to increase the security of your workflow as well as make your code safer to share.

Two ways to keep sensitive information out of code are to save it in your MATLAB vault or to save it in a .env file.

  • Your MATLAB vault is only accessible using the exact combination of your local machine and operating system account. You can store sensitive information with setSecret and retrieve it in context with getSecret.

  • A .env file is a location that is easy to move, share, and manage accessibility. You can store sensitive information in a .env file as name-value pairs and retrieve it with loadenv.

For more information, see on managing sensitive information, see Keep Sensitive Information Out of Code.

Severity: Warning

Chained exponentiation in MATLAB is evaluated from left to right. For example, 2^3^2 is evaluated as (2^3)^2 = 64. This behavior can differ from that of other programming languages, such as Python, where chained exponentiation is evaluated from right to left, as in 2^(3^2) = 512.

Use parentheses to explicitly specify the intended order of evaluation for chained exponents. For example:

Not RecommendedRecommended
x = 2^3^2^3;
x = ((2^3)^2)^3; %Evaluate from left to right
x = 2^3^2^3;
x = 2^(3^(2^3)); %Evaluate from right to left

Unset Variables

Severity: Warning

Code Analyzer returns this message because it appears the code accesses the value of the named variable before it sets that variable. Sometimes, this message results from an error in the code logic or a typographical error. Other times, Code Analyzer generates this message incorrectly because MATLAB has functions, such as load and eval, which can set new variables in the workspace without Code Analyzer detecting it.

This message is incorrect more often than most messages. However, when it is correct, this message reveals problems that might otherwise cause obscure run-time bugs in your program.

If Code Analyzer generated this message as the result of an error in the code, fix the error. Otherwise, if Code Analyzer generated this message incorrectly, do one or more of the following:

  • Give Code Analyzer (and anyone else reading the program) more information about where the variable gets set.

    For example, sometimes initializing the variable can remove the message.

  • Be explicit about which variables are loaded through a load (Instrument Control Toolbox) command.

  • Simplify complicated program logic for the benefit of both Code Analyzer and human readers of the program.

  • Suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

It appears that the indicated function return value is never set. This message might be incorrect if the code sets variables in ways that Code Analyzer cannot detect, for example, with the load (Instrument Control Toolbox) function.

If the program is incorrect, assign a value to the specified return value, or remove it. If the program is correct, suppress the message, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Scripts are used for several different purposes in MATLAB. In some cases, such as for examples, a script is a standalone file that runs by itself. In other cases, scripts are used to initialize variables in functions or other utility tasks. The messages appropriate for one style of script are not always appropriate for the other.

Code Analyzer has found a variable in a script that the script appears to use, but not set. This might represent a problem in a standalone script, but be acceptable in other kinds of scripts. This message is off by default, but can be enabled, as appropriate.

If this message has detected a problem in the script, fix the problem. Otherwise, suppress the message on this line, for the entire script. Or, if you commonly do this kind of coding, leave the message disabled in your default Code Advisor preference settings, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

Unused Constructions

Severity: Warning

The code does not appear to use the assignment to the indicated variable. This situation occurs when any of the following are true:

  • The specified argument value contains a typographical error, causing it to appear unused.

  • The code does not use all values returned by a function call.

  • The function requires a specific number of output arguments to execute the wanted behavior.

If the message displays because of a typographical error, fix the error.

If the code must ignore some output argument values, use the tilde operator (~) to replace the unused argument. This tilde operator eliminates unused argument names from your program, and clarifies your intent to ignore the returned values. MATLAB introduced the tilde operator in R2009b; therefore, use it only when running version R2009b or later.

If the message is unwarranted, suppress it, as described in Adjust Code Analyzer Message Indicators and Messages. Consider including a comment in your code explaining the reason for this suppression. For more information, see “Ignoring Selected Outputs or Input Arguments”.

Severity: Warning

It appears that the code never uses the indicated local function or nested function because:

  • There is no obvious call of the function.

  • The code does not compute a function handle for the function.

  • The code does not include a character vector containing the name of the function.

    If the code had such a character vector, Code Analyzer would not produce this message because it would indicate that the character vector might be passed to feval or a callback.

Code Analyzer can present this message erroneously for several reasons, including:

  • MATLAB used ways of calling the function that Code Analyzer cannot detect.

  • Although you intend to call the function eventually, you have not yet written the code that calls it.

If the message is correct, but the situation is temporary, consider placing the function definition within a block comment. This makes your intention clear and is easy to reverse.

If machine-generated files contain stubs or template functions that you must complete to obtain the behavior you want, consider keeping this message enabled as a reminder that you still have work to do.

If the message is wrong, suppress it, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

Severity: Warning

Code Analyzer detects an input argument to a function or method that the code does not use. This message might result because there is a typographical error in the declaration or the body of the function or method. This message could also result because your code intentionally does not use the specified input argument.

If the message results from a typographical or other error in the function or method definition, correct the error. If you intended to leave the argument unused, replace it in functions and methods with the tilde operator (~). One advantage of using a tilde is that it reduces the number of names in the workspace, making your program easier to inspect and debug. For more information, see “Ignoring Selected Outputs or Input Arguments”.

MATLAB introduces the ability to use a tilde instead of an argument name in R2009b. Therefore, if your program runs in versions of MATLAB before R2009b, do not use the tilde operator. Instead, consider suppressing this message as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Code Analyzer detects that the only argument to a class method is unused. In other words, the value that the method returns is independent of the object that calls it. This can happen due to a typographical error in the method body, or it can be the desired behavior. However, it might be appropriate to make the method a static method, so your code can call it when there is no object available.

Do one of the following:

  • If the code produces this message due to an error in the method definition, fix the definition.

  • If the definition is correct and you want to make the method static, put the method into a method block with the Static attribute. Then, remove the unused argument.

  • If you do not want to make the method Static, suppress this message as described in Adjust Code Analyzer Message Indicators and Messages.

For more information, see “Defining a Static Method”.

Severity: Info

Severity: Info

Your code contains the message suppression directive, %#ok. If you remove this directive, no Code Analyzer message will appear because one or more of the following are true:

  • The code was changed such that the message is no longer triggered.

  • You disabled the message in the Code Analyzer preferences after you added the %#ok directive to your code.

  • The rules that Code Analyzer follows for generating the message have changed.

Right-click %#ok in your code, and then select Remove the Message Suppression.

Severity: Warning

The code does not appear to use the assignment to the indicated variable. This situation occurs when any of the following are true:

  • Another assignment overwrites the value of the variable before an operation uses it.

  • The specified argument value contains a typographical error, causing it to appear unused.

  • The code does not use all values returned by a function call.

  • The function requires a specific number of output arguments to execute the wanted behavior.

Because MATLAB can use variables in unusual ways, Code Analyzer can produce this message inappropriately. For example, Code Analyzer is unable to detect which variables eval and similar functions use.

If a value is unnecessary, delete the assignment.

If the message displays because of a typographical error, fix the error.

If the code must ignore some output argument values, use the tilde operator (~) to replace the unused argument. This tilde operator eliminates unused argument names from your program, and clarifies your intent to ignore the returned values. MATLAB introduced the tilde operator in R2009b; therefore, use it only when running version R2009b or later.

If the message is unwarranted, suppress it, as described in Adjust Code Analyzer Message Indicators and Messages. Consider including a comment in your code explaining the reason for this suppression. For more information, see “Ignoring Selected Outputs or Input Arguments”.

Severity: Warning

Severity: Warning

Severity: Warning

Preallocation is a valuable tool for code that requires frequent memory reallocation. However, it is best to avoid using preallocated memory for a variable that is unused or whose value is reassigned, such as when you assign it output from another function.

For example, assume a function, fetchData, returns a 100–element row vector, and the output is assigned to a variable with preallocated memory. The code might look like this:

myData = zeros(1,100); % preallocated vector populated with zeros
myData = fetchData();

The fetchData function allocates memory for its output data. Therefore, a successful call to the fetchData function returns a replacement for the preallocated memory. Here, the memory is allocated twice and preallocation has no benefit.

Avoid preallocating memory to a variable that is unused or assigned to the output of another function.

Severity: Warning

Severity: Warning

Severity: Warning

It appears that MATLAB will never execute the indicated statement. Typically, Code Analyzer displays this message if a statement is:

  • Preceded by a break, continue, or return call

  • Preceded by an error, throw, rethrow, or throwAsCaller call

  • Preceded by an exit or quit call

  • Inserted between a switch program control statement and the first case keyword

  • Controlled by a conditional expression that is coded such that it always returns a value of true or always returns a value of false. For example, in the following code, Code Analyzer returns this warning on the d=10 statement because flag in the if statement always returns a value of true:

    flag = true;
    if flag
        d = 11;
     else
        d = 10;
     end
    

Check to see if this is a typographical error or other simple mistake and fix it. If the message is incorrect, suppress it as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Warning

Severity: Warning

The indicated operator computes a value that is apparently unused. This can happen for a number of reasons, including typographical errors, unmatched parenthesis, or editing errors.

Remove or modify the expression. Place the expression in a comment if you think you will need it later.

Suggested Improvements

Severity: Info

Related Documentation: arcgridread (Mapping Toolbox)

Severity: Info

Severity: Info

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Info

Related Documentation: cdfepoch

Severity: Info

Related Documentation: cdfread

Severity: Info

Related Documentation: cell2dataset (Statistics and Machine Learning Toolbox)

Severity: Info

Related Documentation: clock

Severity: Info

Severity: Info

Related Documentation: comm.PAMDemodulator (Communications Toolbox)

Severity: Info

Related Documentation: comm.PAMModulator (Communications Toolbox)

Severity: Info

Related Documentation: commsrc.pn (Communications Toolbox)

Severity: Info

compass is not recommended. To plot a mathematical expression in polar coordinates, use the compassplot function instead.

For additional information, see compass Version History.

Related Documentation: compass

Severity: Info

Severity: Info

Related Documentation: cornermetric (Image Processing Toolbox)

Severity: Info

Related Documentation: csvread

Severity: Info

Related Documentation: csvwrite

Severity: Info

Related Documentation: applylut (Image Processing Toolbox)

Severity: Info

Related Documentation: date

Severity: Info

Related Documentation: datetick

Severity: Info

Related Documentation: datenum

Severity: Info

Related Documentation: addtodate

Severity: Info

Related Documentation: datestr

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: blockproc (Image Processing Toolbox)

Severity: Info

Related Documentation: Autoregressive PSD Object to Function Replacement Syntax (Signal Processing Toolbox)

Severity: Info

Severity: Info

Related Documentation: Autoregressive PSD Object to Function Replacement Syntax (Signal Processing Toolbox)

Severity: Info

Related Documentation: cp2tform (Image Processing Toolbox)

Severity: Info

Related Documentation: dblquad

Severity: Info

Severity: Info

Related Documentation: DelaunayTri

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: etime

Severity: Info

Related Documentation: Subspace Pseudospectrum Object to Function Replacement Syntax (Signal Processing Toolbox)

Severity: Info

firgauss is not recommended. Use gaussdesign instead.

Replace all instances of firgauss with gaussdesign. For information on updating your code, refer to the R2013b Signal Processing Toolbox Release Notes.

Severity: Info

firrcos is not recommended. Use rcosdesign instead.

Replace all instances of firrcos with rcosdesign. For information on updating your code, refer to the R2013b Signal Processing Toolbox Release Notes.

Severity: Info

Related Documentation: flipdim

Severity: Info

Severity: Info

Severity: Info

gaussfir is not recommended. Use gaussdesign instead.

Replace all instances of gaussfir with gaussdesign. For information on updating your code, refer to the R2013b Signal Processing Toolbox Release Notes.

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: imtransform (Image Processing Toolbox)

Severity: Info

Related Documentation: isequalwithequalnans

Severity: Info

Severity: Info

Related Documentation: isstr

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: dlmread

Severity: Info

Related Documentation: dlmwrite

Severity: Info

Related Documentation: Autoregressive PSD Object to Function Replacement Syntax (Signal Processing Toolbox)

Severity: Info

Related Documentation: Nonparametric Spectrum Object to Function Replacement (Signal Processing Toolbox)

Severity: Info

Related Documentation: Subspace Pseudospectrum Object to Function Replacement Syntax (Signal Processing Toolbox)

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: Nonparametric Spectrum Object to Function Replacement (Signal Processing Toolbox)

Severity: Info

Related Documentation: quad

Severity: Info

Related Documentation: quadl

Severity: Info

Related Documentation: quadv

Severity: Info

Severity: Info

Related Documentation: str2mat

Severity: Info

Related Documentation: strread

Severity: Info

Related Documentation: strvcat

Severity: Info

Severity: Info

Severity: Info

Related Documentation: TriScatteredInterp

Severity: Info

Related Documentation: triplequad

Severity: Info

Related Documentation: TriRep

Severity: Info

Severity: Info

Severity: Info

Related Documentation: textread

Severity: Info

Severity: Info

Related Documentation: Nonparametric Spectrum Object to Function Replacement (Signal Processing Toolbox)

Severity: Info

Related Documentation: Autoregressive PSD Object to Function Replacement Syntax (Signal Processing Toolbox)

Severity: Info

Related Documentation: eomdate

Severity: Info

Severity: Info

Severity: Info

Before MATLAB supported try and catch blocks, you could use eval and evalc with two arguments to obtain some of the same functionality. In most cases, try/catch blocks are much faster.

Convert eval('foo', 'fclose(fid)') to:

try
  foo
catch ME
  fclose(fid)
end

For more information and examples, see The try/catch Statement.

Severity: Info

Before MATLAB supported try and catch blocks, you could use evalin with two arguments to obtain some of the same functionality. In most cases, try/catch blocks are much faster.

Convert evalin('base' 'foo', 'fclose(fid)') to:

try
  foo
catch ME
  fclose(fid)
end

To match the behavior specified by 'base', the replacement code should be called outside of a function. To match the behavior specified by 'caller', the replacement code should be placed inside the desired function.

For more information and examples, see The try/catch Statement.

Severity: Info

Before MATLAB supported try and catch blocks, you could use eval and evalc with two arguments to obtain some of the same functionality. In most cases, try/catch blocks are much faster.

Convert eval('foo', 'fclose(fid)') to:

try
  foo
catch ME
  fclose(fid)
end

For more information and examples, see “The try-catch Statement”.

Related Documentation: try

Severity: Info

The fcontour function requires that the input function to plot is a function handle. The ezcontourf function accepted either a function handle or character vector.

For example, use fcontour(@(x,y) sin(x)+cos(y),'Fill','on') instead of ezcontourf('sin(x)+cos(y)').

Related Documentation: ezcontourf

Severity: Info

The fcontour function requires that the input function to plot is a function handle. The ezcontour function accepted either a function handle or character vector.

For example, use fcontour(@(x,y) sin(x)+cos(y)) instead of ezcontour('sin(x)+cos(y)').

Related Documentation: ezcontour

Severity: Info

The fcontour, fmesh, fplot, fplot3, and fsurf functions require that the input functions to plot are function handles. The ezgraph3 function accepted either function handles or character vectors.

For example, use fmesh(@(x,y) sin(x)+cos(y)) instead of ezgraph3('mesh','sin(x)+cos(y)').

Severity: Info

The fmesh function requires that the input functions to plot are function handles. The ezmesh function accepted either function handles or character vectors.

For example, use fmesh(@(x,y) sin(x)+cos(y)) instead of ezmesh('sin(x)+cos(y)').

Related Documentation: ezmesh

Severity: Info

The fmesh function requires that the input functions to plot are function handles. The ezmeshc function accepted either function handles or character vectors.

For example, use fmesh(@(x,y) sin(x)+cos(y),'ShowContours','on') instead of ezmeshc('sin(x)+cos(y)').

Related Documentation: ezmeshc

Severity: Info

If the expression you are plotting uses the assignment operator (=), the equality relation operator (==), or more than 1 variable, use the fimplicit function instead of ezplot. Otherwise, use fplot instead of ezplot.

Both fplot and fimplicit require that the input function to plot is a function handle. The ezplot function accepted either a function handle or character vector.

For example, use fplot(@(x) sin(x.^2)) instead of ezplot('sin(x^2)') or fimplicit(@(x,y) sin(x)-cos(y)) instead of ezplot('sin(x)=cos(y)').

Related Documentation: ezplot

Severity: Info

The fplot3 function requires that the input functions to plot are function handles. The ezplot3 function accepted either function handles or character vectors.

For example, use fplot3(@(t) sin(t),@(t) cos(t),@(t) t) instead of ezplot3('sin(t)','cos(t)','t').

Related Documentation: ezplot3

Severity: Info

ezpolar is not recommended. To plot a mathematical expression in polar coordinates, use the fpolarplot function instead.

For additional information, see ezpolar Version History.

Related Documentation: ezpolar

Severity: Info

The fsurf function requires that the input functions to plot are function handles. The ezsurfc function accepted either function handles or character vectors.

For example, use fsurf(@(x,y) sin(x)+cos(y),'ShowContours','on') instead of ezsurfc('sin(x)+cos(y)').

Related Documentation: ezsurfc

Severity: Info

The fsurf function requires that the input functions to plot are function handles. The ezsurf function accepted either function handles or character vectors.

For example, use fsurf(@(x,y) sin(x)+cos(y)) instead of ezsurf('sin(x)+cos(y)').

Related Documentation: ezsurf

Severity: Info

Severity: Info

Severity: Info

Support for representing fuzzy inference systems as structures will be removed in a future release. Use mamfis (Fuzzy Logic Toolbox) and sugfis (Fuzzy Logic Toolbox) objects with this function instead. To convert existing fuzzy inference system structures to objects, use the convertfis function from R2025a or earlier.

Severity: Info

Severity: Info

Support for representing fuzzy inference systems as structures will be removed in a future release. Use mamfis (Fuzzy Logic Toolbox) and sugfis (Fuzzy Logic Toolbox) objects with this function instead. To convert an old-format FIS structure to a mamfis or sugfis object, use the convertfis function from R2025a or earlier.

Severity: Info

Related Documentation: format

Severity: Info

Related Documentation: findstr

Severity: Info

Related Documentation: gaoptimset (Global Optimization Toolbox)

Severity: Info

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Info

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Info

Related Documentation: geotiffread (Mapping Toolbox)

Severity: Info

Severity: Info

Severity: Info

Related Documentation: hdf5info

Severity: Info

Related Documentation: hdf5read

Severity: Info

Related Documentation: hdf5write

Severity: Info

Related Documentation: matlab.mixin.SetGet

Severity: Info

Related Documentation: hist

Severity: Info

Related Documentation: histc

Severity: Info

Related Documentation: hold

Severity: Info

Related Documentation: hough (Image Processing Toolbox)

Severity: Info

Severity: Info

Related Documentation: imellipse (Image Processing Toolbox)

Severity: Info

Related Documentation: imfreehand (Image Processing Toolbox)

Severity: Info

Severity: Info

Related Documentation: imline (Image Processing Toolbox)

Severity: Info

Related Documentation: impoint (Image Processing Toolbox)

Severity: Info

Related Documentation: impoly (Image Processing Toolbox)

Severity: Info

Severity: Info

Related Documentation: imrect (Image Processing Toolbox)

Severity: Info

Severity: Info

Related Documentation: instrhwinfo (Instrument Control Toolbox)

Severity: Info

Related Documentation: interp1

Severity: Info

Related Documentation: instrhwinfo (Instrument Control Toolbox)

Severity: Info

Severity: Info

Severity: Info

In R2015b, the AGC System object and block were improved to incorporate a simplified interface, tolerate a significantly larger input signal power range, and converge more quickly.

By default, LegacyMode is false, and this setting is recommended. However, you can set LegacyMode property to true to access the properties and behavior of the previous releases. These properties include DetectorMethod, LoopMethod, UpdatePeriod, StepSize, and GainOutputPort.

Severity: Info

In R2015b, the AGC System object and block were improved to incorporate a simplified interface, tolerate a significantly larger input signal power range, and converge more quickly.

By default, LegacyMode is false, and this setting is recommended. However, you can set LegacyMode property to true to access the properties and behavior of the previous releases. These properties include DetectorMethod, LoopMethod, UpdatePeriod, StepSize, and GainOutputPort.

Severity: Info

In R2015b, the AGC System object and block were improved to incorporate a simplified interface, tolerate a significantly larger input signal power range, and converge more quickly.

By default, LegacyMode is false, and this setting is recommended. However, you can set LegacyMode property to true to access the properties and behavior of the previous releases. These properties include DetectorMethod, LoopMethod, UpdatePeriod, StepSize, and GainOutputPort.

Severity: Info

Severity: Info

In R2015b, the AGC System object and block were improved to incorporate a simplified interface, tolerate a significantly larger input signal power range, and converge more quickly.

By default, LegacyMode is false, and this setting is recommended. However, you can set LegacyMode property to true to access the properties and behavior of the previous releases. These properties include DetectorMethod, LoopMethod, UpdatePeriod, StepSize, and GainOutputPort.

Severity: Info

Severity: Info

Using lasterror and lasterr for obtaining information about an error (such as the message ID and the stack trace) is not recommended because errors in other activities (such as callbacks) can result in these functions returning unexpected values.

If you specify a variable with a catch block and an error occurs in the try block, MATLAB enters the catch block and assigns the MException object to the catch variable. The MException object contains the error message, the message ID, and the stack trace. To pass this information to a calling function, either return the MException object as an output of your function, or call its rethrow method to rethrow the error. There is no need to save and restore lasterr around such a try/catch block.

Specify a variable with a catch block, as described in ”The try-catch Statement”.

Related Documentation: lasterr

Severity: Info

Severity: Info

strmatch is not recommended. Use strncmp instead.

To find possible partial matches for a character vector, use strncmp or validatestring, depending on your requirements. strncmp returns the numeric index of all array elements that begin with the specified character vector, whereas validatestring returns a single character vector that represents the best match to the specified character vector. To find an exact match for a character vector, use strcmp.

For instance, if your code currently contains lines such as these:

list = {'max', 'minimax', 'maximum', 'max'} 
x = strmatch('max',list)

MATLAB returns the numeric indices of the list array elements that begin with max:

x =

     1
     3
     4

Replace strmatch with one of the following:

  • validatestring

    MATLAB returns the character vector representing the best match, and if multiple or no matches exist, returns an error.

    For instance, this code returns a character vector:

    list = {'max', 'minimax', 'maximum', 'max'}
    x = validatestring('max', list)
    x =
    
    max

  • strncmp

    MATLAB returns a logical array indicating which character vectors match the specified character vector.

    For instance, if you specify this code:

    list = {'max', 'minimax', 'maximum', 'max'}
    x = strncmp('max', list, 3)

    MATLAB returns logical value true (1) to indicate that the first, third, and fourth list elements begin with max and logical value false (0) to indicate that the second list element does not begin with max.

    x =
    
         1     0     1     1
    

    If you prefer for MATLAB to return the numeric indices of list, use find, as follows:

    list = {'max', 'minimax', 'maximum', 'max'}
    x = find(strncmp(list, 'max', 3))
    

If your input to strmatch is a character matrix, then first convert the matrix to a cell array using cellstr. Then, pass the output from cellstr to strncmp or validatestring. For example, if your code is currently this:

 x = strmatch('max', char('max','minimax', 'maximum', 'max'))

Replace it with this:

list = cellstr(char('max', 'minimax', 'maximum', 'max'))
x = strncmp('max', list, 3)

MATLAB returns:

x =

     1
     0
     1
     1

Related Documentation: strmatch

Severity: Info

strmatch is not recommended. Use strncmp instead.

To find exact matches for a character vector, use strcmp. For example, if your code currently contains lines such as these:

list = {'max','minimax','maximum','max'} 
x = strmatch('max',list,'exact')

Then, MATLAB returns the following to indicate that the first and fourth array elements are the only exact matches for max:

x =

     1
     4

Replace the original code with this:

list = {'max','minimax','maximum','max'}
x = strcmp(list,'max')

MATLAB now returns the following logical array. MATLAB returns true (logical 1) to indicate that the first and fourth list elements are max and false (logical 0) to indicate that the second and third list elements are not max.

x =

     1     0     0     1

If you prefer for MATLAB to return the numeric indices of list, use find, as follows:

list = {'max','minimax','maximum','max'}
x = find(strcmp(list,'max'))

Now, MATLAB returns the following to indicate that the first and fourth array elements are the only exact matches for max:

x =

     1     4

To find values that contain a given character vector, rather than those that are an exact match, use strncmp.

Severity: Info

Related Documentation: mat2dataset (Statistics and Machine Learning Toolbox)

Severity: Info

For additional information, see Transition Your mdf Object Code (Vehicle Network Toolbox).

Related Documentation: mdfChannelInfo (Vehicle Network Toolbox)

Severity: Info

Related Documentation: medfilt1 (Signal Processing Toolbox)

Severity: Info

For additional information, see Transition Your mdf Object Code (Vehicle Network Toolbox).

Related Documentation: MDF Files (Vehicle Network Toolbox)

Severity: Info

For additional information, see Transition Your mdf Object Code (Vehicle Network Toolbox).

Related Documentation: mdfRead (Vehicle Network Toolbox)

Severity: Info

For additional information, see Transition Your mdf Object Code (Vehicle Network Toolbox).

Related Documentation: mdfSaveAttachment (Vehicle Network Toolbox)

Severity: Info

Severity: Info

Related Documentation: checkcode

Severity: Info

Related Documentation: mnrfit (Statistics and Machine Learning Toolbox)

Severity: Info

Related Documentation: mnrval (Statistics and Machine Learning Toolbox)

Severity: Info

Related Documentation: months

Severity: Info

Related Documentation: maketform (Image Processing Toolbox)

Severity: Info

Related Documentation: maketform (Image Processing Toolbox)

Severity: Info

Related Documentation: maketform (Image Processing Toolbox)

Severity: Info

Related Documentation: maketform (Image Processing Toolbox)

Severity: Info

Related Documentation: maketform (Image Processing Toolbox)

Severity: Info

Severity: Info

Related Documentation: m2xdate

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: nargoutchk

Severity: Info

Related Documentation: nargchk

Severity: Info

Related Documentation: nargoutchk

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

For additional information, see sim (Simulink).

Related Documentation: sim (Deep Learning Toolbox)

Severity: Info

Related Documentation: classdef

Severity: Info

Related Documentation: polybool (Mapping Toolbox)

Severity: Info

Related Documentation: plotyy

Severity: Info

Severity: Info

Related Documentation: polar

Severity: Info

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Info

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Info

Related Documentation: psoptimset (Global Optimization Toolbox)

Severity: Info

Severity: Info

Controlling random number generation using rand or randn is no longer recommended. Use these functions only to generate random numbers and the new rng function to control the generation process.

Update your code using the following table that shows replacements for discouraged syntaxes with an integer seed sd or a time-dependent seed.

Before

 

After

rand('twister',sd)

 

rng('default')

rand('seed',sd)

 

rng(sd)

randn('seed',sd)

 

rng(sd)

rand('state',sd)

 

rng(sd)

randn('state',sd)

 

rng(sd)

rand('seed',sum(100*clock))

 

rng('shuffle')

For more information including how to reproduce discouraged behavior with the rng function, see Replace Discouraged Syntaxes of rand and randn.

Related Documentation: Replace Discouraged Syntaxes of rand and randn

Severity: Info

Severity: Info

Related Documentation: modelAccuracy (Risk Management Toolbox)

Severity: Info

Related Documentation: modelAccuracyPlot (Risk Management Toolbox)

Severity: Info

Related Documentation: modelAccuracy (Risk Management Toolbox)

Severity: Info

Related Documentation: modelAccuracyPlot (Risk Management Toolbox)

Severity: Info

Related Documentation: modelAccuracy (Risk Management Toolbox)

Severity: Info

Related Documentation: modelAccuracyPlot (Risk Management Toolbox)

Severity: Info

Related Documentation: fitLifetimePDModel (Risk Management Toolbox)

Severity: Info

Related Documentation: roifill (Image Processing Toolbox)

Severity: Info

Severity: Info

Related Documentation: saoptimset (Global Optimization Toolbox)

Severity: Info

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Info

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: struct2dataset (Statistics and Machine Learning Toolbox)

Severity: Info

Related Documentation: subimage (Image Processing Toolbox)

Severity: Info

Related Documentation: datevec

Severity: Info

Related Documentation: hour

Severity: Info

Related Documentation: month

Severity: Info

Related Documentation: minute

Severity: Info

Related Documentation: day

Severity: Info

Related Documentation: now

Severity: Info

Severity: Info

Related Documentation: todatenum

Severity: Info

Related Documentation: quarter

Severity: Info

Related Documentation: second

Severity: Info

Related Documentation: today

Severity: Info

Related Documentation: today

Severity: Info

Related Documentation: year

Severity: Info

In general, use webread instead of urlread. However, the decision to use webread or webwrite depends on the Name-Value arguments in the function call. For example,

  • Instead of urlread(url,'Get',{name,value},...) use webread(url,name,value).

  • Instead of urlread(url,'Post',{name,value},...) use webwrite(url,name,value).

  • Instead of the name-value pair arguments 'Charset', 'Timeout', 'Username', or 'Password' use webwrite with an appropriately configured weboptions object. For example, instead of urlread(url,'Post',{'term','myterm'},'Username','jdoe') use webwrite(url,'term','myterm',weboptions('Username','jdoe')).

Severity: Info

In general, use websave instead of urlwrite. For example, use websave(name,url) instead of urlwrite(url,name).

However, the decision to use websave or webwrite depends on the Name-Value arguments in the function call. For example,

  • Instead of urlwrite(url,filename,'Get',{name,value},...) use websave(filename,url,name,value).

  • Instead of the name-value pair arguments 'Charset', 'Timeout', 'Username', or 'Password' use websave with an appropriately configured weboptions object. For example, instead of urlwrite(url,filename,'Timeout',t) use websave(filename,url,weboptions('Timeout',t)).

  • Instead of urlwrite(url,filename,'Post',{name1,value1},...) use code similar to the following.

    data = webwrite(url,name1,value1,...,weboptions('ContentType',binary)); 
    f = fopen(name,'w'); 
    fwrite(data); 
    fclose(f);

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Related Documentation: weeknum

Severity: Info

Related Documentation: parsim (Simulink)

Severity: Info

Severity: Info

Related Documentation: xlsread

Severity: Info

Related Documentation: xlswrite

Severity: Info

Related Documentation: x2mdate

Readability Improvements

Severity: Info

Severity: Info

Severity: Info

Within array initializations, when a line ends with a comma, rather than an ellipsis line continuation indicator (...), MATLAB ignores the comma and the new line takes precedence. Thus, MATLAB interprets a new line as a new row. Your use of a comma suggests that you are trying to create a row vector, rather than a column vector. This might not matter because row and column vectors work the same way in many situations.

To specify a row vector, insert an ellipsis (...) after the comma at the end of the row. To specify a column vector, remove the comma or replace it with a semicolon, so that your intentions are clear. If you prefer to leave your code as is, then suppress the message or turn it off in the preferences panel, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Info

The syntax disp(sprintf('...')) calls two functions and requires memory allocation. However, the syntax fprintf('...\n') requires no memory and allows the code to execute faster.

Replace disp(sprintf('...')) with fprintf('...\n'). You must include the new line character ('\n') to maintain behavior.

Severity: Info

The syntax display(sprintf('...')) calls two functions and requires memory allocation. However, the syntax fprintf('...\n') requires no memory and allows the code to execute faster.

Replace display(sprintf('...')) with fprintf('...\n'). You must include the new line character ('\n') to maintain behavior.

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Using sum on a logical expression makes code difficult to read.

To determine the number of true entries, use nnz instead. For example:

OldReplacement
sum(x == y)
nnz(x == y)

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

A call to error appears to use sprintf to construct the error message. Because you can call error in numerous ways (with or without error tags, with or without formats and extra arguments, and so on), sometimes Code Analyzer mistakenly produces this message when you use sprintf to produce an error tag or use it as an argument to an existing format specifier.

Remove the sprintf call and pass the format specifier and arguments directly to the error function. For example, replace code such as this:

error('prog:input', ...
sprintf('Cannot open %s because %s\n', ...
filename, reason));

with this code:

error('prog:input', ...
'Cannot open %s because %s\n', ...
filename, reason);

Note that MATLAB converts special characters (such as \n, \t, %s, and %d) in the error message only when you specify more than one input argument with error.

If Code Analyzer produced this message erroneously, you can suppress it, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Info

Severity: Info

A call to warning appears to use sprintf to generate the warning message. Because you can call warning in numerous ways (with or without the warning tag, with or without a format specifier), sometimes Code Analyzer mistakenly produces this message when you use sprintf to generate the warning tag or as an argument to the warning format specifier.

Remove the sprintf call and pass the arguments directly to the warning function. For example, replace code such as this:

warning('prog:Nneg', sprintf('Input N=%d must be positive\n',N));

With this code:

warning('progr:Nneg', 'Input N=%d must be positive\n',N);

Note that MATLAB converts special characters (such as \n, \t, %s, and %d) in the warning message only when you specify more than one input argument with warning.

If Code Analyzer produced this message erroneously, you can suppress it, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Severity: Info

Formatting Suggestions

Severity: Info

A block of code is initiated by a reserved word, but the corresponding end statement for this block does not appear to line up with the opening statement. This message appears only if the end is at least two lines lower than the opening reserved word, and the number of indentation characters is off by more than one. Because Code Analyzer counts a tab character and a single space as one character each, you are likely to see this message if you mix tabs and spaces to indent text. Even though the code appears aligned to you, Code Analyzer interprets it as misaligned.

The most common cause for this message is a missing or extra end statement, which causes the end statements to be paired with the wrong reserved words.

Realign the reserved word and add the missing end statement as appropriate. If you frequently mix tabs and spaces and do not want to make them consistent, then suppress all instances of this message in the file or disable all instances of this message in all files, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Info

Severity: Info

Severity: Info

Severity: Info

It appears this statement produces a value that displays at the command line when the statement executes. This is usually undesirable in functions, because someone else calling the function might not expect or need the output. Sometimes (usually due to overloading), Code Analyzer is incorrect and the expression produces no output.

Because there is little harm in putting a semicolon after the statement even if the statement does not result in displaying output, use the context menu to add a semicolon. If the message is incorrect, suppress it as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Info

A statement in a script appears to produce a value that will display when the script runs. Although this is usually a problem in functions, it might be desirable behavior in scripts.

If you do not want the output to display for this statement, then terminate it with a semicolon.

If you want the output to display, suppress this message, as described in Adjust Code Analyzer Message Indicators and Messages. (Code Analyzer generates a different message to notify you of statements in functions that are not terminated with a semicolon—that message is not affected when you suppress this one.)

Severity: Info

Severity: Info

Performance Improvements

Severity: Info

The size of the indicated variable or array appears to be changing with each loop iteration. Commonly, this message appears because an array is growing by assignment or concatenation. Growing an array by assignment or concatenation can be expensive. For large arrays, MATLAB must allocate a new block of memory and copy the older array contents to the new array as it makes each assignment. Programs that change a variable's size in this way can spend most of their run time in this inefficient activity.

For the same reasons, there is significant overhead in shrinking an array or in changing the size of a variable on each iteration.

Consider preallocating a variable or array before entering the loop by using zeros, ones, cell, or a similar function. Preallocating avoids the need for MATLAB to copy the data from one array to another inside the loop. For examples of code that do and do not preallocate an array, see “Preallocating Arrays”.

When an array grows by assigning past the end of the array or by using concatenation, preallocation alone does not improve the performance. The code must also use explicit indices.

If you do not know the size of an array before the loop begins, preallocate it, and then if necessary, shrink it after the loop completes.

If any of the following conditions are true, it might be appropriate to suppress this message, as described in Adjust Code Analyzer Message Indicators and Messages:

  • The loop code contains a conditional block where the array grows. (In this case, it can be reasonable to grow the array only as the loop finds such conditions.)

  • For each iteration in the loop, the length of the concatenation varies (such as character vectors with variable length). The total size of the array is not calculable before entering the loop.

  • The array is small and will remain small; therefore, the impact of recopying is also small.

  • The code preallocates the array, but in a way that Code Analyzer does not recognize.

Severity: Info

Severity: Info

Code Analyzer has detected a cell array that is constructed, in part, by extracting all the elements from another cell array. This operation can be inefficient, especially if the existing cell array is large. Typically, it is better to concatenate the new elements with the existing cell array.

Replace {A{:} X} with [A(:)' {X}]. Instead of extracting the cell array (A{:}), reshape the cell array into a row vector (A(:)') and then concatenate the two cell arrays.

If A has a single row, you can simplify the replacement even further to [A {X}].

You also might be able to simplify {X}, depending on what kind of expression it is. For example, if {X} is an expression similar to B{J}, then you might be able to replace it with B(J) or B(J)', depending on the shape of B and J.

For more information, see Access Data in Cell Array.

Severity: Info

Severity: Info

clear all should not be used to clear only workspace variables. In addition to clearing workspace variables, it also clears functions and scripts. Using clear all causes MATLAB to recompile previously cached code, and can decrease performance.

When possible, replace instances of clear all in your code.

  • To clear one or more specific variables from the current workspace, use clear var1 var2.

  • To clear all variables from the current workspace, consider using clear variables or clearvars.

  • To clear all global variables, consider using clear global or clearvars –global.

  • To clear a function or script, consider clearing only the specific function or script. For example, clear myFun .

For more information, see clear (Instrument Control Toolbox) and clearvars.

Severity: Info

clear classes is not recommended. If you modify a class definition, MATLAB automatically updates it. You do not need to clear classes to instantiate objects using the new definition. 

In addition to clearing class definitions, clear classes also clears variables, scripts and functions. Using clear classes causes MATLAB to recompile previously cached code, and can decrease performance.

When possible, remove or replace instances of clear classes in your code.

  • To instantiate an object with an updated class definition, it is not necessary to clear classes.

  • To clear a particular class, consider clearing only the specific class. For example, clear myClass .

For more information, see Automatic Updates for Modified Classes.

Severity: Info

clear should not be used to clear more than necessary. This decreases code performance and is usually unnecessary.

When possible, replace instances of clear in your code.

  • To clear one or more specific variables from the current workspace, use clear var1 var2.

  • To clear all variables from the current workspace, consider using clear variables or clearvars.

  • To clear all global variables, consider using clear global or clearvars –global.

  • To clear a function or script, consider clearing only the specific function or script. For example, clear myFun .

For more information, see clear (Instrument Control Toolbox) and clearvars.

Severity: Info

Use clear functions only if you need to clear all scripts and functions. In addition to clearing scripts and functions, it also clears persistent variables and MEX functions. Using clear functions causes MATLAB to recompile previously cached code, and can decrease performance.

When possible, replace instances of clear functions in your code.

  • To clear a function or script, consider clearing only the specific function or script. For example, clear myFun .

  • To clear only all MEX functions, consider using clear mex.

For more information, see clear (Instrument Control Toolbox).

Severity: Info

Severity: Info

Severity: Info

The code applies the isempty function to the entire result of a find operation. It is sufficient to request a single output from find, and then apply isempty to that single output.

Replace code such as isempty(find(A)) with code such as isempty(find(A,1)) where A is an arbitrary expression giving a logical value.

If A is a vector, use the simpler and faster form, ~any(A). If A is an arbitrary matrix, another good alternative is ~any(A(:)).

In general, Code Analyzer does not know the shape of A, so it does not offer these alternatives as automatic fixes.

Severity: Info

Using exist with one argument means if MATLAB does not find that argument immediately, it must search all categories to which that argument might belong. This can be time consuming.

To speed up the search and make your code more readable, specify a second argument to the exist (Parallel Computing Toolbox) call to indicate the category to which the first argument belongs. Valid values are: 'builtin', 'class' (for Java classes), 'dir', 'file', and 'var'.

Severity: Info

The sort function supports a 'descend' argument that sorts in descending order. Code Analyzer is indicating a case where this might be useful.

Previously, if you wanted to sort an array in descending order, you had to call the sort function, and then reverse the result by calling the flipud or fliplr function. Now MATLAB supports the 'descend' argument.

Rewrite the expression using the 'descend' argument. For example, if your code currently looks like this, and a is a row vector:

a = fliplr(sort( a ));

consider rewriting it like this:

a = sort(a, 'descend');

Severity: Info

MATLAB enables you to use logical arrays for indexing elements in both arrays and cell arrays. This code calls find to create an array of indices from a logical vector, when you can probably use the logical vector directly instead. Using logical indexing directly is usually faster because it avoids the work find does when it creates a vector of indices.

Code Analyzer also reports this message when the subscript is an array of indices resulting from a call to find and the indicated subscript is the only use of this array of indices.

To speed up and simplify the program, replace the call to find with logical array indexing. If the logical array is not a vector, the shape of the output could change when you remove (or use Code Analyzer automatic fix feature to remove) the find call. To retain the same output shape, you might need to replace find(L) by L(:) or L(:)'. Even with these changes, it is faster than calling find.

If the argument to find is not a logical array, suppress this message, as described in Adjust Code Analyzer Message Indicators and Messages.

Severity: Info

Severity: Info

For more information, see Generate Field Names from Variables.

Severity: Info

Severity: Info

Use isscalar to check if a variable is scalar to provide improved performance.

Replace comparisons to 1 with direct calls of isscalar.

OldReplacement
length(x) == 1
isscalar(x)
numel(x) == 1
isscalar(x)

Severity: Info

Severity: Info

When you call axes(h) within a loop, MATLAB makes the specified axes the current axes. However, MATLAB also attempts to give focus to the axes and its parent figure with every loop iteration, which slows performance significantly.

If you are calling axes because you have multiple axes and you need to specify in which axes to plot, pass the axes handle as an argument to the plot function instead. For example, replace code such as this:

a1 = subplot(1,2,1)
a2 = subplot(1,2,2);
while 1
    axes(a1)
    plot(rand(3))
    axes(a2)
    plot(rand(3))
    drawnow
end

with this:

a1 = subplot(1,2,1);
a2 = subplot(1,2,2);
while 1
   plot(a1, rand(3))
   plot(a2, rand(3))
   drawnow
end

For more information, see “Judicious Object Creation”.

Severity: Info

Code Analyzer has detected a call to inv in a multiplication operation.

For solving a system of linear equations, the inverse of a matrix is primarily of theoretical value. Never use the inverse of a matrix to solve a linear system Ax=b with x=inv(A)*b, because it is slow and inaccurate.

Instead of multiplying by the inverse, use matrix right division (/) or matrix left division (\). That is:

  • Replace inv(A)*b with A\b

  • Replace b*inv(A) with b/A

In longer expressions, parentheses might be necessary to preserve the order of operations. For example, replace A*inv(B)*C with A*(B\C).

Frequently, an application needs to solve a series of related linear systems Ax=b, where A does not change, but b does. In this case, use lu, chol, or qr instead of inv, depending on the matrix type.

Severity: Info

Severity: Info

Code Analyzer has found a call of regionprops with a first argument that is a call to bwlabel. In many cases, the argument of bwlabel is a logical matrix, or you can convert it to one. Beginning in MATLAB Version 7.8 (release R2009a), you can pass this logical matrix directly to regionprops without the call to bwlabel. This is faster and uses less space than the previous method.

If bw is a logical matrix, make the indicated change. If bw is not a logical matrix, convert it to a logical matrix, and then pass the converted matrix as the first argument to regionprops.

For example, if bw is a logical matrix, replace:

regionprops(bwlabel(bw), ...) 

with:

regionprops(bw, ....)

Severity: Info

The code uses the max or min function on the result of find, which is not as fast as using the find options, first and last.

Remove the call to min or max and pass arguments directly to the find function instead.

For example, replace code such as min(find(A)) with find(A,1).

Similarly, replace max(find(A)) with find(A, 1, 'last').

Severity: Info

Severity: Info

Severity: Info

The specified variable appears inside a parfor (MATLAB Coder) loop within different indexing expressions. Because the indices are inconsistent across the uses of the array created by the parfor loop, MATLAB sends the entire array to each worker, resulting in high data communication overhead. For example, the following code elicits this message for c, because there are two different indexing expressions for it:

 c = foo();
 parfor i = 1:N
     a(i) = c(i,1);
     b(i) = c(i,2);
 end

When the indices are the same for all instances of the indexed variable, the variable is classified as sliced, and MATLAB sends only the required elements to the workers for each iteration of the parfor loop.

In some cases, there is no way to avoid this message, and therefore you should suppress it, as described in Adjust Code Analyzer Message Indicators and Messages

However, in most cases, you can use additional variables to avoid this problem. For example, in the following code, x and y are sliced and do not elicit the message. In effect, the temporary variables make it clear to MATLAB which data to ship to the workers:

     c = foo();
     x = c(:,1);
     y = c(:,2);
     parfor i = 1:N
         a(i) = x(i);
         b(i) = y(i);
     end

For more information, see Classification of Variables in parfor-Loops (Parallel Computing Toolbox).

Severity: Info

Severity: Info

Severity: Info

Severity: Info

The size of the indicated variable or array appears to be changing with each loop iteration. Commonly, this message appears because an array is growing by assignment or concatenation. Growing an array by assignment or concatenation can be expensive. For large arrays, MATLAB must allocate a new block of memory and copy the older array contents to the new array as it makes each assignment.

Programs that change the size of a variable in this way can spend most of their run time in this inefficient activity. There is also significant overhead in shrinking an array on each iteration or in changing the size of a variable on each iteration. In such cases, MATLAB must reallocate and copy the contents repeatedly.

For scripts, Code Analyzer cannot determine whether the array was preallocated before the script was called. Depending on your use of scripts, you might want to enable or disable this message independently of the related message (with message ID AGROW) that applies to functions and class methods.

Consider preallocating a variable or array before entering the loop by using zeros, ones, cell, or a similar function. Preallocating avoids the need for MATLAB to copy the data from one array to another inside the loop. For examples of code that do and do not preallocate an array, see “Preallocating Arrays”

When an array grows by assigning past the end of the array or using concatenation, preallocation alone does not improve the performance. The code must use explicit indices also.

Assigning to an array in a script that the caller of the script preallocated provides an opportunity to create bugs that are difficult to detect. If the script is called multiple times, these bugs are particularly difficult to detect. However, there are other uses of scripts where preallocating in this manner is necessary or even desirable. In this case, suppress the message for specific assignments or for the whole script, as described in Adjust Code Analyzer Message Indicators and Messages. It might also be appropriate to suppress this message if any of the following is true:

  • The loop code is searching for rare or exceptional events (especially if you do not expect it to find any).

    In this case, it can be reasonable to grow the array only as the loop code finds such events.

  • The array is small and will always be small.

    In this case, the impact of recopying is also small.

  • The array was preallocated, but in a way that Code Analyzer does not recognize.

If you do not know the size of an array before the loop begins, preallocate it, and then shrink it, if necessary, after the loop completes.

Severity: Info

For more information, see Generate Field Names from Variables.

Severity: Info

Code Analyzer detects an indexing pattern for a sparse array that is likely to be slow. An assignment that changes the nonzero pattern of a sparse array can cause this error because such assignments result in considerable overhead.

If possible, build sparse arrays using sparse as follows, and do not use indexed assignments (such as C(4) = B) to build them:

  1. Create separate index and value arrays.

  2. Call sparse to assemble the index and value arrays.

If you must use indexed assignments to build sparse arrays, you can optimize performance by first preallocating the sparse array with spalloc.

If the code changes only array elements that are already nonzero, then the overhead is reasonable. Suppress this message as described in Adjust Code Analyzer Message Indicators and Messages.

For more information, see “Constructing Sparse Matrices”.

Severity: Info

str2double cannot evaluate mathematical expressions, such as division or multiplication. For strings containing mathematical expressions use str2num instead.

Severity: Info

Severity: Info

Severity: Info

Dividing a string into multiple elements by calling strtok in a while loop can be inefficient, especially if multiple calls to strtok are made. Generally, using one call to split is clearer and faster.

Replace the while loop that includes the call to the strtok function with a single call to the split function. For example, if you have this code that calls the strtok function in a while loop:

while ~isempty(remain)
    [token,remain]=strtok(remain, delimiter);
end

Replace the code with a single call to the split function.

tokens = split(str,delimiter)

Severity: Info

Severity: Info

Although you can remove leading and trailing white space using nested fliplr and deblank calls, strtrim results in code that executes much faster and is easier to read.

Convert code such as

fliplr(deblank(fliplr(deblank(str))))

and

deblank(fliplr(deblank(fliplr(str))))

to

strtrim(str) 

Severity: Info

Severity: Info

It appears you are using the transpose character (') to influence the results of the sort function. Depending on what you are trying to accomplish, this might be inefficient or ineffective.

The sort function with no input arguments sorts the columns of a matrix and the row of a row vector.

If you want to change the order of the input matrix, while maintaining its original shape, do one of the following, depending on the type of array you input to the sort function:

Note

If a variable you pass to the sort function could be matrix or a vector because the variable's size varies, use the syntax suggested for matrix input.

  • Matrix input

    Specify the dimension of the matrix as the second input argument. For instance, in the following example, the variables y and z are identical, but the syntax used to specify z is more efficient.

    x = [5, 1, 3; 2, 4, 0];
    y = sort(x')'
    z = sort(x, 2)
    

  • Vector input

    Remove the transpose character ('). For example, if your code looks like this,

    y = [ 9; 4; 6; 2 ]
    sort(y')

    then replace it with this:

    y = [ 9; 4; 6; 2 ]
    sort(y)

Severity: Info

MATLAB for Code Generation Messages

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Code Analyzer detects what appears to be a variable-size array. The code MATLAB generates for indexing a variable-size array is less efficient than for a fixed-size array. The generated code might be a bit bigger and slower than if the array were fixed-size.

If you want this behavior, or if you have already indicated a variable size with the MATLAB function coder.varsize (MATLAB Coder), suppress the message as described in Adjust Code Analyzer Message Indicators and Messages.

Otherwise add a statement that initializes the variable to a size that is large enough for the application.

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Severity: Error

For code generation, the first appearance of a variable must establish its size. The first appearance of a variable cannot be subscripted.

Create the array by assigning values to the entire array before subscripting it. You can allocate values to the array, for example, by using the zeros function. Other useful functions for initializing arrays are struct and repmat.

Severity: Error

Severity: Error

Severity: Error

Fixed-Point Messages

Severity: Warning

MATLAB Compiler (Deployment) Messages

Severity: Warning

It appears that there is a reference to an absolute file name in a deployed application. Because the application could be running on a system with a file system configuration that is different from yours, the reference is likely to be incorrect.

Rewrite the code to do one of the following:

  • Use relative file names.

  • Obtain an absolute file location from the user of the deployed application.

  • Specify the location of the file relative to the folder that ctfroot returns.

    For more information, see the function reference page for ctfroot in the MATLAB Compiler documentation.

Severity: Warning

Changing the folder using the cd function affects the MATLAB search path, which in turn can affect which functions get called and how MATLAB performs input and output operations. When deploying the application using any of the following products, the cd function is unlikely to have the effect you expect when it executes in the deployed application:

  • MATLAB Compiler

  • MATLAB Compiler SDK

Rewrite the program to avoid using the cd function.

Severity: Error

Severity: Error

Severity: Warning

The loadlibrary function generates .m files when the code calls it with C/C++ header files. Because deployed applications cannot access .m files generated by the MATLAB Compiler at runtime, this form of loadlibrary does not work in a deployed application.

Change the code to use the .m file prototype form of loadlibrary.

Severity: Warning

It appears that the application to be deployed is creating or modifying a .m file. Although this is valid, the deployed application cannot execute that file.

If you want a deployed application to execute the .m file it creates or modifies, consider doing one of the following:

  • Construct a character vector and use the eval function on it.

  • Use an anonymous function, which enables you to create a simple function without having to create a .m file to reduce the impact of this restriction.

    For details, see Anonymous Functions.

Severity: Warning

The matlabroot function is rarely appropriate in a deployed application because MATLAB software might not be installed and therefore there is no matlabroot.

Rewrite the program to eliminate the use of matlabroot in the deployed application. Consider using ctfroot instead. For more information, see the function reference page for ctfroot in the MATLAB Compiler documentation.

Severity: Error

The code calls the printdlg function and specifies too few or too many arguments. The MATLAB Compiler allows one argument only.

Either rewrite the program to call printdlg with one argument only, or remove the call to printdlg.

Severity: Error

Severity: Warning

It appears that the application is accessing a file in the toolbox folder. This is likely to fail if the application you are writing is deployed to a system where MATLAB software is not installed.

Rewrite the application code to avoid dependencies on files in the toolbox folder.

System Objects

Severity: Warning

Severity: Error

Severity: Warning

Severity: Error

Severity: Error

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Unsupported Features

Severity: Warning

Related Documentation: javaMethodEDT

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Severity: Warning

Related Documentation: MATLAB Code Compatibility Analyzer

Behavior Changes

Severity: Warning

Related Documentation: Update Code for R2019b Changes to Function Precedence Order

Severity: Warning

Severity: Warning

Related Documentation: legend

Severity: Warning

Related Documentation: Release Notes for Aerospace Toolbox (Aerospace Toolbox)

Severity: Warning

The nested function includes an assignment to this variable, and the variable is not

  • Listed as an input or output variable in the nested function definition

  • Listed as an input or output variable in the parent function definition

  • Assigned a value in the parent function

If there is a function on the path with the same name as the variable, MATLAB interprets the variable in the parent function as a function call. Otherwise, the variable is shared between parent and nested function. This code might result in unintended behavior.

To clarify which behavior you expect, modify your code.

  • To share the variable between the parent and nested function, assign a value to the variable in the parent function.

  • To use the function on the path, rename the variable in the nested function if it has the same name as the function.

Related Documentation: Update Code for R2019b Changes to Function Precedence Order

Behavior Changes with Low Reliability Messages

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Severity: Warning

Related Documentation: geoloc2grid (Mapping Toolbox)

Severity: Warning

Related Documentation: Update Code for R2019b Changes to Function Precedence Order

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

For more information, see MATLAB Release Notes.

Related Documentation: Update Code for R2019b Changes to Function Precedence Order

Severity: Warning

Severity: Warning

Severity: Warning

Related Documentation: vec2mtx (Mapping Toolbox)

Severity: Warning

Upcoming Behavior Changes

Severity: Warning

Related Documentation: Improve Performance of ROS Using Message Structures (ROS Toolbox)

Severity: Warning

Related Documentation: rossvcclient (ROS Toolbox)

Severity: Warning

Related Documentation: rossvcclient (ROS Toolbox)

Upcoming Behavior Changes with Low Reliability Messages

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Support Forward Compatibility of Java

Severity: Warning

Related Documentation: Improve Performance of ROS Using Message Structures (ROS Toolbox)

Code Analyzer Configuration Issues

Severity: Error

Severity: Error

Severity: Error

Severity: Error

Code Analyzer active settings file syntax is incorrect on the indicated line. For example, a line might begin with a comment character (%), which is not permitted in the active settings file. Code Analyzer ignores misspelled tag names to maintain compatibility from release to release. This message appears only when the active settings file in Code Analyzer preferences:

  • Was edited or written by hand (rather than by generating it using Code Analyzer preferences).

  • Includes incorrect syntax.

Correct the syntax on the indicated line. For more information on Code Analyzer preferences, see “Setting Code Analyzer Preferences”.