主要内容

uint.

创建万博1manbetxsimulink.numerictype.描述无符号整数数据类型的对象

句法

a = uint(WordLength.

描述

uint(WordLength.返回A.万博1manbetxsimulink.numerictype.描述具有单词大小的无符号整数的数据类型的对象WordLength.

笔记

uint.是一种遗留功能。在新代码中,使用Fixdt.反而。在现有代码中,替换uint(wordlength)FixDT(0,WordLength,0)

例子

定义一个16位无符号整数。

a = uint(16)
a = numerictype with属性:dataTypeMode:'fixed-point:二进制点缩放'签名:'未签名'wordlength:16 fractionlength:0 isalias:0 datascope:'auto'头文件:'''''''''')
在R2006A之前介绍