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 Center および File ExchangeLarge 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