Main Content

isnumerictype

确定输入是否为 numerictype 对象

说明

示例

tf = isnumerictype(T)Tnumerictype 对象时返回 1 (true)。否则,返回 0 (false)。

示例

全部折叠

创建一个变量,并确定它是否为 numerictype 对象。

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

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

输入参数

全部折叠

输入数组。

扩展功能

C/C++ 代码生成
使用 MATLAB® Coder™ 生成 C 代码和 C++ 代码。

HDL 代码生成
使用 HDL Coder™ 为 FPGA 和 ASIC 设计生成 VHDL、Verilog 和 SystemVerilog 代码。

版本历史记录

在 R2006a 之前推出