You don’t need int2str function. Use info (strfmt("%1", i)); Result - 40 C
An error has occured Process was aborted