Reputation: 6323
Conversion?
array(1:3) = cellArray{1:3};
% this fails: "Subscripted assignment dimension mismatch."
%% Contents of cellArray %%
K>> cellArray{1:3}
ans =
11
ans =
f0
ans =
05
Upvotes: 0
Views: 51
Reputation: 114816
If all cells are of the same type, and share similar first dimension, then
array = [cellArray{:}];
should work
Upvotes: 1