ar_0001: Filenames

ID: Title

ar_0001: Filenames

Priority

Mandatory

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

A file name conforms to the following constraints:

Form


filename = name.extension

  • name: no leading digits, no blanks

  • extension: no blanks

Uniqueness


All file names within the parent project directory

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 _

extension:
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

extension:

Should not use underscores

Rationale

  • Readability

  • Workflow

  • Code Generation

  • Simulation

Last Changed

V3.0

Model Advisor Check

By Task > Modeling Standards for MAAB > Naming Conventions > Check file names

Was this topic helpful?