title: Matlab cell2mat error: all contents of the input cell array must be of the same data type
body: <p>I'm trying to apply the cell2mat function to a cell consisting of strings that are either empty or are integers. I get this error telling me that the contents of the cell are not all of the same data type, even though when I ran "iscellstr" on an index with an empty string and an index with an integer sting, both returned 1, for true. What else could be causing this error?</p>