When running HDL Coder a fixed-point version of my MATLAB-script is generated as 'example_fixpt.m'.
In this script the function 'fi' is applied to all variables, e.g.:
test=fi(pi, 1, 16, fm);
If I run 'whos' (in example_fixpt.m) I'm told the new variable (type 'embedded.fi') uses 428 bytes.
Can I somehow reduce the size of fixed-point variables?
Does this mean my VHDL-code will also make use of variables this big?