Code covered by the BSD License  

Highlights from
Simulink Model Uppercase Naming

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 1.88 KB File ID: #26426
image thumbnail

Simulink Model Uppercase Naming

by Will Campbell

 

20 Jan 2010

Capitalizes the names of Simulink objects

| Watch this File

File Information
Description

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

Required Products Simulink
MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simulink Will Campbell 02 Feb 2010 09:23:16
utilities Will Campbell 02 Feb 2010 09:23:16

Contact us at files@mathworks.com