Products & Services Solutions Academia Support User Community Company

Learn more about Control System Toolbox   

strseq - Create sequence of indexed strings

Syntax

strvec = strseq(STR,INDICES)

Description

strvec = strseq(STR,INDICES) creates a sequence of indexed strings in the string vector strvec by appending the integer values INDICES to the string STR.

Example

Create a string vector by indexing the string 'e' at 1, 2, and 4.

strseq('e',[1 2 4])

This command returns the following result:

ans = 

    'e1'
    'e2'
    'e4'

See Also

strcat,connect

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS