easy question here

조회 수: 3 (최근 30일)
Doug
Doug 2011년 2월 25일
I am new to Matlab. What is the difference between 'char' and '*char' when you use fread?
Thanks.

답변 (1개)

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

카테고리

Help CenterFile 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!

Translated by