easy question here
3 views (last 30 days)
Show older comments
I am new to Matlab. What is the difference between 'char' and '*char' when you use fread?
Thanks.
0 Comments
Answers (1)
Jan
on 25 Feb 2011
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".
0 Comments
See Also
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!