関数 'subsindex'の未定義回避
9 views (last 30 days)
Show older comments
% エクセルからテーブルを作製する
Jisho = readtable('dictionary.xlsx','ReadRowNames',true);
%文字を指定し、その行と列を呼び出す
Chushutumoji='apple';
Shoukai = Jisho(Chushutumoji,2)
%%問題の部分
pic_index=table2struct(Shoukai)
A=subsindex(pic_index)
dispic=data_cell{A}
関数 'subsindex' は、クラス 'struct' の値に対して定義
されていません。
エクセルに入力したインデックス((1,1)など入力)を行列deta_cellに入力して出力したいと考えています。
しかし、subindexが未定義というエラーメッセージが発生してしまいます。
このメッセージを回避するにはどのような手段を取るべきなのでしょうか
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!