A string is an array of characters. There is no limit to the amount of characters a String may contain. Simple string concatenation (e.g. concatenation that can be done during processing) is allowed. Strings must always be entered between single quotes ('). A single quote can be escaped with a second quote, so if a single quote should be part of the string, it needs to be typed twice.
string c = 'C:\data.txt';
string b = 'This is a string with a '' single quote';
if time > 10 then stopsimulation (b); end;
d = table(c,1);
name = c + ' // file';
toMatlab (d, name)
Strings may only be used as input for some special functions (e.g. table).