[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62649] fwrite function does not work properly

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62649] fwrite function does not work properly with some value
Date: Mon, 20 Jun 2022 10:58:25 -0400 (EDT)

Update of bug #62649 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #2:

Works for me on Windows when opening the file in binary mode:

fid = fopen("test_values", 'wb');
fwrite(fid, 2559, "uint16");
fwrite(fid, 2560, "uint16");
fwrite(fid, 2561, "uint16");

In hex viewer:
ff 09 20 0a 01 0a  

Fwiw, Matlab R2022a on Windows does the same (conversion of LF to CRLF) for
the original example.

Closing as invalid.


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]