txt ファイルを読み込んでから、txt ファイルのすべての文字列をループしようとしています。残念ながら、それを機能させることはできません。
fid = fopen(fullfile(source_dir, '1.txt'),'r')
read_current_item_cells = textscan(fid,'%s')
read_current_item = cell2mat(read_current_item_cells);
 for i=1:length(read_current_item)
 current_stock = read_current_item(i,1); 
 current_url = sprintf('http:/www.', current_item)
 .....
textscan が cell 配列を出力するので、基本的に cell 配列を行列に変換しようとします。しかし今、私はメッセージを受け取ります
cell2mat の使用エラー (53 行目) セル配列またはオブジェクトを含むセル配列はサポートできません。
どんな助けでも大歓迎です