File Exchange

image thumbnail

Simulink Model Uppercase Naming

version (1.88 KB) by Will Campbell
Capitalizes the names of Simulink objects


Updated 01 Sep 2016

View License

mdl_upper is a utility to convert the name of blocks and other Simulink components into purely uppercase.
MDL_UPPER(OBJECT) capitalizes the name of Simulink OBJECT and its children.

MDL_UPPER(OBJECTS) capitalizes the name of Simulink OBJECTS defined in a cell array. The function will not include any children of the objects defined. This enables the user to fully specify the objects they wish to manipulate.

capitalizes all object names in the current model

myblocks = find_system(bdroot,'BlockType','Scope');
capitalizes the name of all Scopes in the model

Cite As

Will Campbell (2021). Simulink Model Uppercase Naming (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!