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!