How to convert a mixed array to cell array
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a mixed array (cell, numeric, string), but I eventually want to convert all to cell. Can any one tell how to do this.
Thanks,
0 个评论
采纳的回答
Star Strider
2016-5-28
2 个评论
Star Strider
2016-5-28
Without seeing it I cannot say for sure. There are simply too many possibilities to cover them all.
Something like this would be the simplest approach:
Everything = {Cell_Array, {Double_array}, {String_Array}};
Experiment with that (and refer to the documentation link I provided) to get the result you want.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!