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

1 view (last 30 days)
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)

Walter Roberson
Walter Roberson on 17 Nov 2015
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
Frank Ziegler
Frank Ziegler on 18 Nov 2015
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.

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!