Function Reference
— Function File: str2mat (s_1, ..., s_n)

Return a matrix containing the strings s_1, ..., s_n as its rows. Each string is padded with blanks in order to form a valid matrix.

This function is modelled after Matlab. In Octave, you can create a matrix of strings by [s_1; ...; s_n] even if the strings are not all the same length.