image thumbnail
from Simple Object Creation in Matlab Object Oriented Programming (OOP) by Michael Chan
The objective is to provide a simple sample code to illustrate OOP in Matlab.

cell2string( cellString )
function stringProcessed = cell2string( cellString )
%CELL2STRING 

    stringProcessed = cell2str(cellString);
    % remove '{' and '}'
    stringProcessed = regexprep(stringProcessed, '{', '');
    stringProcessed = regexprep(stringProcessed, '}', '');
    stringProcessed = regexprep(stringProcessed,'''', ''); % remove character '
end

Contact us