string = int2str(n)
string = int2str(n)
converts an integer to a string with integer format.
int2str(2+3)
is the string '5'
. A plot can be labeled with
title(['case number ' int2str(n)])
fprintf
,hex2num
,num2str
,setstr
,sprintf
(c) Copyright 1994 by The MathWorks, Inc.