Does fread use cast when reading non-integer byte data
Using fread to read in binary containing 14bit ADC data streamed from an FPGA.
Wondering if fread does a cast when you use ubitn or bitn for the precision input.
Currently My fread setup similar to the code below spits out int16.
Output_data=fread(FID,Inf,’*bit14′)
When I go to get this into a double will this int16 need to be bitsliced or cast.Using fread to read in binary containing 14bit ADC data streamed from an FPGA.
Wondering if fread does a cast when you use ubitn or bitn for the precision input.
Currently My fread setup similar to the code below spits out int16.
Output_data=fread(FID,Inf,’*bit14′)
When I go to get this into a double will this int16 need to be bitsliced or cast. Using fread to read in binary containing 14bit ADC data streamed from an FPGA.
Wondering if fread does a cast when you use ubitn or bitn for the precision input.
Currently My fread setup similar to the code below spits out int16.
Output_data=fread(FID,Inf,’*bit14′)
When I go to get this into a double will this int16 need to be bitsliced or cast. fread, binary, cast, fixed-point MATLAB Answers — New Questions