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.

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

For check details, see Check file names (Simulink Verification and Validation).

Introduced in R2010a

Was this topic helpful?