int2str

Purpose

Integer to string conversion.

Synopsis

string = int2str(n)

Description

string = int2str(n) converts an integer to a string with integer format.

Examples

int2str(2+3) is the string '5'.

A plot can be labeled with

title(['case number ' int2str(n)])

See Also

fprintf, hex2num, num2str, setstr, sprintf

(c) Copyright 1994 by The MathWorks, Inc.