| Simulink® | ![]() |
Create Simulink.NumericType object describing fixed-point or floating-point data type
a = fixdt(Signed, WordLength)
a = fixdt(Signed, WordLength, FractionLength)
a = fixdt(Signed, WordLength, TotalSlope, Bias)
a = fixdt(Signed, WordLength, SlopeAdjustmentFactor,
FixedExponent, Bias)
a = fixdt(DataTypeNameString)
[DataType,IsScaledDouble] = fixdt(DataTypeNameString)
fixdt(Signed, WordLength) returns a Simulink.NumericType object describing a fixed-point data type with unspecified scaling. The scaling would typically be determined by another block parameter. Signed can be 0 (false) for unsigned or 1 (true) for signed.
fixdt(Signed, WordLength, FractionLength) returns a Simulink.NumericType object describing a fixed-point data type with binary point scaling.
fixdt(Signed, WordLength, TotalSlope, Bias) or fixdt(Signed, WordLength, SlopeAdjustmentFactor, FixedExponent, Bias) returns a Simulink.NumericType object describing a fixed-point data type with slope and bias scaling.
fixdt(DataTypeNameString) returns a Simulink.NumericType object describing an integer, fixed-point, or floating-point data type specified by a data type name. The data type name can be either the name of a built-in Simulink® data type or the name of a fixed-point data type that conforms to the naming convention for fixed-point names established by the Simulink® Fixed Point™ product.
[DataType,IsScaledDouble] = fixdt(DataTypeNameString) returns a Simulink.NumericType object describing an integer, fixed-point, or floating-point data type specified by a data type name and a flag that indicates whether the specified data type name was the name of a scaled double data type.
float, sfix, sfrac, sint, ufix, ufrac, uint
![]() | find_system | fixpt_evenspace_cleanup | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |