% -*- texinfo -*- % @deftypefn {Function File} {} int2str (@var{n}) % Convert an integer (or array of integers) to a string (or a character % array). % % @example % @group % % int2str (123) % @result{} '123' % % s = int2str ([1, 2, 3; 4, 5, 6]) % @result{} s = % 1 2 3 % 4 5 6 % % whos s % @result{} s = % Attr Name Size Bytes Class % ==== ==== ==== ===== ===== % s 2x7 14 char % @end group % @end example % % This function is not very flexible. For better control over the % results, use @code{sprintf} (@pxref{Formatted Output}). % @seealso{sprintf, num2str, mat2str} % @end deftypefn