AutoName
Version 2.0 (400 KB) by
Mike Anthony
In Simulink, automatically names signals and blocks in certain use cases.
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.
Cite As
Mike Anthony (2025). AutoName (https://www.mathworks.com/matlabcentral/fileexchange/31588-autoname), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
AutoName
AutoName
Version | Published | Release Notes | |
---|---|---|---|
2.0 | Long overdue update with 2 major changes:
|
||
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 |