AutoName

In Simulink, automatically names signals and blocks in certain use cases.

Vous suivez désormais cette soumission

Very often in Simulink, it is desireable to have naming consistency between signals and certain blocks like inports, outports, tags, scopes, etc. These functions are examples of scripts that automatically apply such names according to certain stylistic rules explained in the sample model. This is partuclarly useful when used in a model's PreSaveFcn callback, as a way to reduce the manual effort of consistent naming while building a model.
Open the included model AutoNameTest.mdl and follow the instructions therein to see an example of how this works.

Citation pour cette source

Mike Anthony (2026). AutoName (https://fr.mathworks.com/matlabcentral/fileexchange/31588-autoname), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Modeling dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
2.0

Long overdue update with 2 major changes:
1. Rules and naming are applied at the current model/subsystem and below, not for the entire model
2. The function is now invoked through the Right-Click menu in Simulink

1.1.0.1

Updated license

1.1.0.0

Updated to be called from a custom menu item rather than in a callback function.

1.0.0.0