clear; clc;

str = {'Madrid, Spain', 'Romeo and Juliet', ...
       'MATLAB is great'};
   
celldisp(regexp(str, '\s', 'split'))