This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

jc_0211: Usable characters for Inport blocks and Outport blocks

ID: Title

jc_0211: Usable characters for Inport blocks and Outport blocks

Priority

Strongly recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

The names of all Inport blocks and Output blocks should conform to the following constraints:

Form

name:

  • Should not start with a number

  • Should not include blank spaces

  • Should not include carriage returns

Allowed Characters

name:
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9 _

Underscores

name:

  • Can use underscores to separate parts

  • Cannot have more than one consecutive underscore

  • Cannot start with an underscore

  • Cannot end with an underscore

Rationale

  • Readability

Last Changed

V2.2

Model Advisor Check

By Task > Modeling Standards for MAAB > Naming Conventions > Check port block names

For check details, see Check port block names.

Introduced in R2010a