easy question here
显示 更早的评论
I am new to Matlab. What is the difference between 'char' and '*char' when you use fread?
Thanks.
回答(1 个)
Jan
2011-2-25
A = fread(FID, 1, 'char');
B = fread(FID, 1, '*char');
Now A is a DOUBLE, and B is a CHAR. '*char' is equivalent to 'char=>char', as explained in "help fread".
类别
在 帮助中心 和 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!