what is the meaning of int16>=int16
5 次查看(过去 30 天)
显示 更早的评论
I am using a function that reads my binary file as
fread(data,int16>=int16)
clearly the output is not the same as saying to read as integer16, but can't quite grasp what matlab does here. Anyone with some insight?
thanks
1 个评论
Dyuman Joshi
2024-3-7
The "source=>output" option in fread means that input values are of the type source, and the output is of the type output.
回答(1 个)
Chunru
2024-3-7
The following will read data from the file pointed by fid, assuming that the data in the file is of the format int16 and converted the data into int16 for output format. doc fread for more details.
data = fread(fid, "int16>=int16")
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!