Scalar structure required for this assignment.
270 次查看(过去 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!