I have two datasets and I want to put them in one struct
1 回表示 (過去 30 日間)
古いコメントを表示
the photo shows example of how I want to make the struct. basically I have cst1 & cst2 and I want to put them in one struct just like the photo(features & labels)
0 件のコメント
回答 (1 件)
Image Analyst
2019 年 4 月 18 日
Try
s = load('cst1.mat');
data.cst1 = s.cst1;
s = load('cst2.mat');
data.cst2 = s.cst2;
2 件のコメント
Image Analyst
2019 年 4 月 18 日
Try
s = load('cst1.mat');
data.cst1 = s.data;
s = load('cst2.mat');
data.cst2 = s.data;
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!