This example shows how to create a cell array using the {} operator or the cell function.
www.mathworks.com