MATLAB empty cell(n,m) array of strings

cellmatlabstring

What is the quickest way to create an empty cell array of strings ?

cell(n,m)

creates an empty cell array of double.

How about a similar command but creating empty strings ?

Best Solution

Depends on what you want to achieve really. I guess the simplest method would be:

repmat({''},n,m);