Function Reference

This section contains reference pages for the Fixed-Point Blockset M-file functions. In most cases, you will not call these functions from the MATLAB command line. Instead, they are automatically called when you specify certain parameter values via block dialog boxes or via the Fixed-Point Blockset Interface tool.

Function

Description

autofixexp

Automatically change the scaling for each fixed- point block that does not have its scaling locked.

fixptbestexp

Determine the exponent that gives the best precision fixed-point representation of a value.

fixptbestprec

Determine the maximum precision available for the fixed-point representation of a value.

fixpt_convert

Convert Simulink models and subsystems to fixed-point equivalents.

fixpt_convert_prep

Prepare a Simulink model for more complete conversion to fixed point.

fixpt_restore_links

Restore links for fixed-point blocks.

float

Create a MATLAB structure describing a floating-point data type.

fpupdate

Update obsolete fixed-point blocks from previous Fixed-Point Blockset releases to current fixed-point blocks.

fxptdlg

Launch the Fixed-Point Blockset Interface tool.

sfix

Create a MATLAB structure describing a signed generalized fixed-point data type.

sfrac

Create a MATLAB structure describing a signed fractional data type.

showfixptsimranges

Display the logged maximum and minimum values from the last simulation.

sint

Create a MATLAB structure describing a signed integer data type.

ufix

Create a MATLAB structure describing an unsigned generalized fixed-point data type.

ufrac

Create a MATLAB structure describing an unsigned fractional data type.

https://fiatlux.atlassian.net/wiki/spaces/FPBS/pages/1187184861

Create a MATLAB structure describing an unsigned integer data type.