How to convert a mixed array to cell array
조회 수: 4 (최근 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에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!