主要内容

fi对象显示首选项使用fipref

您使用fipref目的指定显示的三个方面fi对象:对象值,本地fimath属性和数字型特性。

例如,以下代码显示默认值fipref显示fi物体的对象fimath目的:

a = fi(pi,'圆形刺激',,,,'地面',,,,“溢出”,,,,'裹'
A = 3.1415 DatatyPemode:固定点:二进制点缩放签名:签名的WordLength:16 fractionLength:13圆形曲折:落地溢流:WRAP OFFLOFLACTAD:WRAP PRODUCT MODEDMODE:FULL PRECISION EMMPHODE:FULL PRECISINE

默认值fipref显示fi没有局部fimath的对象如下:

a = fi(pi)
A = 3.1416 DatatyPemode:固定点:二进制点缩放签名:签名wordlength:16 fractionLength:13

接下来,更改fipref显示属性:

p = fipref;p.numberdisplay ='bin';p.numerictypedisplay ='短的';p.fimathdisplay ='没有任何'
p = numberDisplay:'bin'numerictypeDisplay:'short'fimathdisplay:'none'loggingmode:'Off'off'datatypeOverride:'forceoff'
一种
a = 0110010010001000数字型(1,16,13)