Check model file name
mathworks.hism.hisl_0031
Dependencies: Simulink® Check™
Usage: High-Integrity System Modeling
Guideline: hisl_0031: Model file names
Description
Use this check to determine whether the model filename complies with recommended guidelines.
Check Parameters
Use the Model Advisor Configuration Editor to define the scope of the analysis by specifying the input parameters.
Parameter | Description |
---|---|
Minimum length | Specify the minimum number of characters that can be in a model filename.
|
Maximum length | Specify the maximum number of characters that can be in a model filename.
|
Recommended Actions and Results
Review the violations that are flagged by the check and the recommended action for fixing the issue. After applying the changes, save the model and rerun the check analysis.
Modeling Condition | Recommended Action |
---|---|
Filename contains invalid characters. | Rename the file, using valid characters. Valid characters are
a –z ,
A –Z , 0–9, and underscore
(_ ). |
Filename starts with a number. | Remove the number at the start of the filename. |
Filename starts with an underscore ("_ "). | Remove the underscore (_ ) at the start of the
filename. |
Filename ends with an underscore ("_ "). | Remove the underscore at the end of the filename. |
File extension contains underscores. | Remove the underscores from the file extension. |
Filename contains consecutive underscores. | Remove the underscores from the filename. |
Filename contains multiple dots (.). | Rename the file so that it contains at most one dot. |
Filename is C, C++, or MATLAB keyword or name of built-in function. | Rename the file. |
Filename does not contain more than two and less than 64 characters. | Rename the file so that it includes at least two and less than 64 valid characters. |
Capabilities and Limitations
Runs on library models and System Composer™ models
Does not require model compilation
Does not analyze the content of library-linked blocks
Does not analyze the content in masked subsystems
Version History
Introduced in R2018bSee Also
Topics
- Check Your Model Using the Model Advisor
- Address Model Check Results
- Save and View Model Advisor Check Reports
- Improve Simulation Performance Using Performance Advisor
- Upgrade Models Using Upgrade Advisor
- Use Model Advisor Configuration Editor to Customize Model Advisor
- Exclude Blocks from Model Advisor Check Analysis
- Justify Model Advisor Violations from Check Analysis
- Check Model Compliance Using Edit-Time Checking
- Choose Valid Model File Names