Scalar structure required for this assignment.
270 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
James Tursa
il 2 Giu 2023
Modificato: James Tursa
il 2 Giu 2023
What is the size of D_? Are you trying to add each cell element of D_(:,2) as a struct field in Sis?
Risposta accettata
Più risposte (2)
Vedere anche
Categorie
Scopri di più su Structures in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!