Scalar structure required for this assignment.
67 ビュー (過去 30 日間)
古いコメントを表示
Sis =
1×82 struct array with fields:
Name
dailyprof
cc
gapp
ttrange
Ntradess
>> class(D_(:,2))
ans =
'cell'
>> Sis.On=D_(:,2);
Scalar structure required for this assignment.
hi ..how do I add it as a field?
2 件のコメント
James Tursa
2023 年 6 月 2 日
編集済み: James Tursa
2023 年 6 月 2 日
What is the size of D_? Are you trying to add each cell element of D_(:,2) as a struct field in Sis?
採用された回答
その他の回答 (2 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!