Cell Array to table
古いコメントを表示
I have a cell array that contains elements of different sizes:
Values =
1×8 cell array
{[1]} {[0.35]} {1×3 double} {[0]} {1×2 double} {[0]} {1×2 double} {[1]}
I want to save Values, into an existing table. The table has VariableTypes set to cell.
obj.Table{i}(indx,:) = Values
Conversion to cell from double is not possible.
Table should look something like this:

採用された回答
その他の回答 (1 件)
madhan ravi
2019 年 2 月 22 日
doc cell2table
1 件のコメント
madhan ravi
2019 年 2 月 22 日
T=cell2table(Values);
T.Properties.VariableNames={'id','factor','position','pts','Pt_Location','Turn_Rate','ST_Location','speed'}
カテゴリ
ヘルプ センター および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!