Azzera filtri
Azzera filtri

Datatype "Double" is not seen in Fixed Point tool.

2 visualizzazioni (ultimi 30 giorni)
Im using fixed point tool for conversion of the floating datatypes to Fixed point datatype. During this step im facing an issue where im unable to find the datatype "DOUBLE" in run browser option. Only "FPA Reference" is visible.
Note : In collect ranges , "Double Precision" is ticked.
Im using Matlab2018b software.
Please let me know the workaround that need to be perfomed for "Double" datatype to be visible under run browser option of Fixed point tool.

Risposta accettata

Rijuta
Rijuta il 6 Set 2023
Hi Charan,
I understand that you want the "Double" datatype to be visible under run browser option of Fixed-point tool. However, in MATLAB 2018b, the "Double" datatype is not directly available in the Fixed-Point Designer's Run Browser option.
To work around this and use the "Double" datatype, you can follow these steps:
1. Open the Fixed-Point Tool in MATLAB.
2. In the Fixed-Point Tool, click on the "Collect Ranges" button in the toolbar.
3. In the "Collect Ranges" dialog box, make sure the "Double Precision" option is checked.
4. Click on the "Apply" button to collect the ranges.
5. Now, go to the "Run" menu in the Fixed-Point Tool and select "Run Fixed-Point Advisor."
6. In the Fixed-Point Advisor, you will see the "FPA Reference" datatype.
7. Click on the "View Results" button in the toolbar.
8. In the "View Results" dialog box, you will see the data types recommended by the Fixed-Point Advisor. Here, you should see the "Double" datatype as an option.
By following these steps, you can collect ranges using the double-precision floating-point representation and then view the results, including the "Double" datatype, in the Fixed-Point Tool.
I hope this solves your query. For detailed information on the Fixed-Point Tool, please refer to the documentation below:
  1 Commento
Charan
Charan il 8 Set 2023
Spostato: Dyuman Joshi il 8 Set 2023
Thank you , now im able to see the datatype as doube after the above workaround.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by