- 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
Does the forcing to fixdt rather than uint imply I don't need a fixed point license?
1 view (last 30 days)
Show older comments
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)
0 Comments
Answers (1)
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:
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
Walter Roberson
on 18 Nov 2015
I do not have Simulink to test with. Try using fixdt now with your current license.
See Also
Categories
Find more on Fixed Point in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!