Does the forcing to fixdt rather than uint imply I don't need a fixed point license?

UINT is being deprecated, requiring a fixdt format per the following Note from their help.
Note: uint is a legacy function. In new code, use fixdt instead. In existing code, replace uint(WordLength) with fixdt(0,WordLength,0)

Answers (1)

To simulate a model that uses fixed-point numbers, you must install the Fixed-Point Designer™ product. You do not need the Fixed-Point Designer product to edit a model containing fixed-point blocks, or to specify fixed-point data types. See Specify Fixed-Point Data Types.
To execute a model that uses fixed-point numbers, you must have the Fixed-Point Designer™ product installed on your system. Specifically, you must have the product to:
  • Update a Simulink diagram (Ctrl+D) containing fixed-point data types
  • Run a model containing fixed-point data types
  • Generate code from a model containing fixed-point data types
  • Log the minimum and maximum values produced by a simulation
  • Automatically scale the output of a model using the autoscaling tool
If the Fixed-Point Designer product is not installed on your system, you can execute a fixed-point model as a floating-point model by enabling automatic conversion of fixed-point data to floating-point data during simulation. See Overriding Fixed-Point Specifications for details.

4 Comments

UINT8, 16 and 32 as well as INT flavors are built-in to the non-fixed point packages. We aren't buying a fixed license and I'm concerned my current model files are going to hang on the next release.
Experiment by creating a simple model that uses fixdt and seeing what happens.
It works fine for now. It's being deprecated but not yet. If and when it does will I have to fork out $3250 to do byte integer math.
I do not have Simulink to test with. Try using fixdt now with your current license.

Sign in to comment.

Products

Tags

Asked:

on 17 Nov 2015

Commented:

on 18 Nov 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!