I tried to run the example provided on the documentation page for fread (uk.mathworks.com/help/matlab/ref/fread.html)
>> fileID = fopen('nine.bin','w');>> fwrite(fileID,[1:9],'uint16');Error using fwriteInvalid file identifier. Use fopen to generate a valid file identifier.
Any idea why the example does not run on my installation?
Best Answer