How can i convert a string to a number? number_of_plots = '4' but i want 4 without ''
Tabel_Cell = table2cell(diagramoptions) ;
idx= strfind(Tabel_Cell(:,1), 'number_of_plots');
idx = find(not(cellfun('isempty',idx)));
number_of_plots = Tabel_Cell{idx,2}
%number_of_plots1=double(number_of_plots);
%number_of_plots1=str2num(number_of_plots);