放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)