You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cell2str.m
    path of file: ./repos/BRAPH-2/braph2/src/util
    
    the code of the file until where you have to start completion: function str = cell2str(cel)
%CELL2STR transforms a cell array of strings into a string
%

    
function str = cell2str(cel)
%CELL2STR transforms a cell array of strings into a string
%
% STR = CELL2STR(CEL) transforms the cell array of strings CEL into a
%  string with each element of CEL on a different line (separator \n).
%  Cel cna be either a row or colum cell array.
%
% See also STR2CELL.

str = sprintf('%s\n', cel{:});
str = str(1:end