[問題] cell2struct已回收
我有一個119701 x 5 的cell array (叫作s_at)
想要把它轉成sturct,
已定義 str_sat 為
str_sat =
0x0 struct array with fields:
sp
year
month
times
abun
但輸入 str_sat = cell2struct(s_at,{'sp','year','month','times','abun'},5);
卻出現
??? Error using ==> cell2struct
Number of field names must match number of fields in new structure.
@@ 不知道問題出在哪裡
還請個位前輩賜教orz 謝謝!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.68.192
推
08/31 23:35, , 1F
08/31 23:35, 1F
→
09/02 12:36, , 2F
09/02 12:36, 2F
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章