Main Content

isfimathlocal

Determine whether fi object has local fimath

Description

tf = isfimathlocal(a) returns 1 (true) if the fi object a has a local fimath object. Otherwise, it returns 0 (false).

example

Examples

collapse all

Create a fi object and determine whether it has local fimath.

F = fimath;
a = fi(pi);
b = fi(pi,F);

tf_a = isfimathlocal(a)
tf_a = logical
   0

tf_b = isfimathlocal(b)
tf_b = logical
   1

Input Arguments

collapse all

Input array.

Data Types: fi

Extended Capabilities

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

HDL Code Generation
Generate VHDL, Verilog and SystemVerilog code for FPGA and ASIC designs using HDL Coder™.

Version History

Introduced in R2009b