文档

sfix

创造万博1manbetxsimulink.numerictype描述签名的定点数据类型的对象

句法

a = sfix(wordlength

描述

sfix(wordlength返回a万博1manbetxsimulink.numerictype用指定的单词长度和未指定的缩放描述签名的定点编号的对象。

笔记

sfix是旧功能。在新代码中,使用FIXDT反而。在现有代码中,替换sfix(wordlength)FIXDT(1,WordLength)

例子

定义16位签名的定点数据类型。

a = sfix(16)
a = with属性的数字型:datatypemode:'reciet-point:未指定的缩放尺寸'签名:'签名'WordLength:16 isalias:0 dataScope:'auto'headerFile:'''description:'description:''''''

在R2006a之前引入

这个话题有帮助吗?