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
Will Campbell (2021). Simulink Model Uppercase Naming (https://www.mathworks.com/matlabcentral/fileexchange/26426-simulink-model-uppercase-naming), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!