According to the Scilab 5.5.0 release notes, this seems to be a bug fix: #8862 - mget and mput could not read and write 64 bit data from binary files.
(the C data type "long long integer" has 8 bytes as per Scilab 5.5.0) Rgds Rafael G. From: users [mailto:[email protected]] On Behalf Of Rafael Guerra Sent: Sunday, May 04, 2014 12:38 PM To: 'International users mailing list for Scilab.' Subject: [Scilab-users] Binary I/O of Integers on Scilab 5.5.0 Windows 64 bits Hello, Is the following change of mput/mget data types "ib" and "lb" have been reported for Scilab 5.5.0 (Win 64 bits)? fid = mopen("mput_lb.dat", 'wb', 0); mput(16,'lb',fid); mclose(fid) // outputs now long long integer with 8 bytes fid = mopen("mput_ib.dat", 'wb', 0); mput(16,'ib',fid); mclose(fid) // outputs now long integer with 4 bytes In Scilab 5.4.1 (Win 64 bits), "lb" words had 4-bytes only, if I am not mistaken. Thanks and regards Rafael G.
_______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
