Create sequence of indexed strings


strvec = strseq(STR,INDICES)


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.

    Note:   You can use strvec to aid in system interconnection. For an example, see the sumblk reference page.


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 = 


See Also


Was this topic helpful?