You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: int2str.m
    path of file: ./repos/ExploreASL/External/SPMmodified/matlabbatch/private
    
    the code of the file until where you have to start completion: function s = int2str(x)
%INT2STR Convert integer to string.
%   S = INT2STR(X) rounds the elements of the matrix X to
%   integers and converts the result into a string matrix.
%   Return NaN and Inf elements as strings 'NaN' and 'Inf', respectively.
%
%   Modified by Volkmar Glauche to return 'true' and 'false' instead of 0
%   and 1 for logical arrays.
%
%   See also NUM2STR, SPRINTF, FPRINTF, MAT2STR.

%   Copyright 1984-2006 The MathWorks, Inc.
%   $Revision: 284 $  $Date: 2006/11/11 22:45:05 $

    
function s = int2str(x)
%INT2STR Convert integer to string.
%   S = INT2STR(X) rounds the elements of the matrix X to
%   integers and converts the result into a string matrix.
%   Return NaN and Inf elements as strings 'NaN' and 'Inf', respectively.
%
%   Modified by Volkmar Glauche to return 'true' and 'false' instead of 0
%   and 1 for logical arrays.
%
%   See also NUM2STR, SPRINTF, FPRINTF, MAT2STR.

%   Copyright 1984-2006 The MathWorks, Inc.
%   $Revision: 284 $  $Date: 2006/11/11 22:45:05 $

if ~islogical(x)
    x = round(real(x));
end