how distribuite correctly array in struct
이전 댓글 표시
vb=[Sis.dailyprof];
[Sis.dailyprof_Orig]=deal(vb);
but this is not correct...i want to get dailyprof_Orig similar to dailyprof (5787X1 for each element)

채택된 답변
추가 답변 (1개)
Sulaymon Eshkabilov
2023년 11월 8일
편집: Sulaymon Eshkabilov
2023년 11월 8일
Understood your question correctly and without seeing your data. These commands work ok, e.g.:
A = randi(13, 7, 1);
DD.Set1 = A;
% Start the simulation :)
B = DD.Set1;
DD.Set2 = deal(B)
[O1, O2] = deal(DD.Set1, DD.Set2)
That would be helpful to see your sample data.
카테고리
도움말 센터 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!