Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

na_0019: Restricted Variable Names

ID: Title

na_0019: Restricted Variable Names

Priority

Mandatory

Scope

NA-MAAB

MATLAB Versions

All

Prerequisites

None

Description

To improve the readability of the MATLAB® code, avoid using reserved C variable names. For example, avoid using const, const, TRUE, FALSE, infinity, nil, double, single, or enum.

Avoid using variable names that conflict with MATLAB Functions, for example conv.

Note

Reserved keywords are defined in the Simulink® Coder™ documentation.

Rationale

  • Readability

  • Verification and Validation

See Also

  • Derived from NASA Orion style guideline jh_0042: Required software

Last Changed

V3.0

Introduced in R2013a

Was this topic helpful?