This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Convert fi object to unsigned 64-bit integer


c = uint64(a)


c = uint64(a) returns the built-in uint64 value of fi object a, based on its real world value. If necessary, the data is rounded-to-nearest and saturated to fit into an uint64.


This example shows the uint64 values of a fi object.

a = fi([-pi 0.5 pi],0,64);
c = uint64(a)

c =

   0    1    3

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2008b

Was this topic helpful?