Main Content

isnumerictype

Determine whether input is numerictype object

Description

example

tf = isnumerictype(T) returns 1 (true) if T is a numerictype object. Otherwise, it returns 0 (false).

Examples

collapse all

Create a variable and determine whether it is a numerictype object.

T = numerictype;
tf = isnumerictype(T)
tf = logical
   1

q = quantizer;
tf = isnumerictype(q)
tf = logical
   0

Input Arguments

collapse all

Input array.

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 before R2006a