View and Modify Variable Information
R2026bView Variable Information
In the Fixed-Point Conversion step of the HDL Workflow Advisor, you can view information about the variables in the MATLAB® functions. To view information about the variables for the selected function, use the Variables tab of the Output Logs table.
The Variables tab includes these columns:
Variable
Variable name. Variables are classified as inputs, outputs, persistent, or local.
Type
The original data type and size of each variable. For example, a value that appears as
double (6x2)is a 6 by 2 array that contains double precision floating point numbers.Sim Min
The minimum value assigned to the variable during simulation.
Sim Max
The maximum value assigned to the variable during simulation.
To search for a variable in the MATLAB code window and on the Variables tab, use
Ctrl+F.
Modify Variable Information
If you modify variable information, the app displays modified values in bold. You can modify these values:
Static Min and Static Max
Enter minimum and maximum values for static range analysis in the Static Min and Static Max column.
Editing these fields does not trigger static range analysis, but the app uses the edited values in later analyses.
Whole Number
The app uses simulation data to determine whether the values assigned to a variable during simulation were always integers. You can manually override this value.
Editing this field does not trigger static range analysis, but the app uses the edited value in later analyses.
Proposed Type
To modify the signedness, word length, and fraction length, edit the ProposedType column in the Variables tab.
Revert Changes
To clear results and revert the proposed data types, right-click the Variables tab and select
Reset entire table.