Simulink Model Uppercase Naming
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
Citar como
Will Campbell (2024). Simulink Model Uppercase Naming (https://www.mathworks.com/matlabcentral/fileexchange/26426-simulink-model-uppercase-naming), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.