Uint
创造金宝appsimulink.numerictype
描述未签名整数数据类型的对象
句法
a = uint(wordlength
)
描述
uint(
返回awordlength
)金宝appsimulink.numerictype
描述无符号整数的数据类型,该单词大小给出wordlength
。
笔记
Uint
是旧功能。在新代码中,使用FIXDT
反而。在现有代码中,替换UINT(WordLength)
和FIXDT(0,WordLength,0)
。
例子
定义一个16位未签名的整数。
a = uint(16)
a = with属性的数字型:datatypemode:'recient-point:二进制点缩放'签名:'unsigned'WordLength:16 fractionLength:0 isalias:0 isalias:0 dataScope:'auto'headerFile:'headerfile:'''description:'''''''