File Exchange

image thumbnail

Simulink Model Uppercase Naming

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

457 Downloads

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.

Examples:
mdl_upper(bdroot)
capitalizes all object names in the current model

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

Cite As

Will Campbell (2021). Simulink Model Uppercase Naming (https://www.mathworks.com/matlabcentral/fileexchange/26426-simulink-model-uppercase-naming), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!