Transformation des cellarrays en matrice

function tab_rle=cell_to_tab(rle_cell,fin)

%Transformer cell array en tableau de chaînes de caractères

j=1;

for i=1:length(rle_cell)

   tab_rle{j}=rle_cell{i}; j=j+1;

   tab_rle{j}=' '; j=j+1;

end % end for

 %Normalisation des types en str

for i=1:length(tab_rle)

   tab_rle{i}=num2str(tab_rle{i});

end % end for

 tab_rle=cell2mat(tab_rle);

tab_rle(end)=fin; % fin de la ligne