i checked the help documents, here's an example, maybe it's useful
the following string includes a form feed character, \f:
**lyric = sprintf('Blackbird\fsinging\fin\fthe\fdead\fof\fnight');**
To read the string using textscan, call the sprintf function to explicitly convert the form feed:
**C = textscan(lyric, '%s', 'delimiter', sprintf('\f'));**
textscan returns a 1-by-1 cell array C:
C{1} = {'Blackbird'; 'singing'; 'in'; 'the'; 'dead'; 'of'; 'night'}