easy question here

6 vues (au cours des 30 derniers jours)
Doug
Doug le 25 Fév 2011
I am new to Matlab. What is the difference between 'char' and '*char' when you use fread?
Thanks.

Réponses (1)

Jan
Jan le 25 Fév 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".

Catégories

En savoir plus sur Large Files and Big Data dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by