Trying to read a txt file, then to loop through all string of the txt file. Unfortunately not getting it to work.

```
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)
 .....

```

I basically try to convert the cell arrays to a matrix as textscan outputs cell arrays. However now I get the message 

Error using cell2mat (line 53) Cannot support cell arrays containing cell arrays or objects.

Any help is very much appreciated