%% Convert to 64-Bit Signed Integer Variable
% Convert a double-precision variable to a 64-bit signed integer.

x = 100;
xtype = class(x)

%

y = int64(x)

% Copyright 2012 The MathWorks, Inc.