文档

Uint

创造金宝appsimulink.numerictype描述未签名整数数据类型的对象

句法

a = uint(wordlength

描述

uint(wordlength返回a金宝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:'''''''

在R2006a之前引入