easy question here

I am new to Matlab. What is the difference between 'char' and '*char' when you use fread?
Thanks.

Respuestas (1)

Jan
Jan el 25 de Feb. de 2011

1 voto

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".

Categorías

Más información sobre Large Files and Big Data en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de Feb. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by