Main Content

strcat

Concatenate strings

Description

example

dest= strcat(s1,…,sN)concatenates stringss1,…,sN.

Note

The operatorstrcatSta万博1manbetxteflow只支持®charts that use C as the action language.

Examples

expand all

Concatenate strings to form"Stateflow".

s1 ="State"; s2 =“流”; dest = strcat(s1,s2);

Stateflow chart that uses the strcat operator in a state.

Tips

Enclose literal strings with single or double quotes.

Version History

Introduced in R2018b