Converts a scalar or matrix to the string representation of an integer.
itos
// Set x x = 4; // Convert integer to string str_int = itos(x); // Print results print "x = " x; print "str_int = " str_int;
After this code:
x = 4.000000 str_int = 4
See also
Functions ftos(), stof()
ftos()
stof()