MATLAB Answers

what can be maximum number number of alphabet in name of model ?

2 views (last 30 days)
Apurv Singh
Apurv Singh on 6 Sep 2017
Commented: Apurv Singh on 6 Sep 2017
hi what can be maximum length of a model name ?

  1 Comment

Sign in to comment.

Accepted Answer

José-Luis
José-Luis on 6 Sep 2017
Edited: José-Luis on 6 Sep 2017
From the documentation:
"Model Names:
Model file names must start with a letter and can contain letters, numbers, and underscores. The file name must not be:
A language keyword (e.g., if, for , end) _A reserved name: 'simulink', 'sl', 'sf' A MATLAB® software command The total number of characters in the model name must not be greater than a certain maximum, usually 63 characters. To find out whether the maximum for your system is greater than 63 characters, use the MATLAB namelengthmax command.
To understand how MATLAB determines which function to call when you specify a model name, see Function Precedence Order (MATLAB).
If I understood your question right, the number you are looking for might be 63. Use namelengthmax() to be sure.

  1 Comment

Apurv Singh
Apurv Singh on 6 Sep 2017
Thank you for answer i should have used Model file names in question

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags


Translated by