When I use the following command on Windows with MATLAB 7.3 (R2006b):
a=fread(fopen('test'),64,'char')';size(a)
I obtain
ans = 1 64
On Linux I obtain:
ans = 1 62
'schar' and 'uchar' format specification give me the same answer with FREAD on every platforms.
Best Answer