Create a multiline title in a GUI
Use char function:txt=char('First line','Second line','etc'); title(txt);
The char function is used here to consolidate strings of different length into a single array. You might wish to play around with the alignment:
h=title(txt); set(h,'HorizontalAlignment','Right'); set(h,'VerticalAlignment','Middle');