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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Automated Fixed-Point Conversion in MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!