[Scilab-users] mget at Scilab 5.4.1 and 5.5.1
Philipp Mühlmann
p.muehlmann at gmail.com
Sun Feb 21 01:01:49 CET 2016
Dear all,
I have a binary file which contains some time data that I want to extract.
in Scilab 5.4.1 my code does work:
fid = mopen(FILE,'rb');
// switch to position of time information
mseek( pos ,fid,'set');
Time = mget(1,'ul',fid); // time in seconds
MilliTime = mget(1,'ul',fid); // milliseconds
mclose(fid);
doing this allows me to find the correct time information and I can create
DATE and TIME as
DATE = 'yyyy-mm-dd'
TIME = hh:mm:ss.ms
Now, using the exact same code in Scilab 5.5.1 creates somehow a different
result.
Example:
Scilab 5.4.1:
DATE = 2012-06-18
TIME = 09:18:58.870
Scilab 5.5.1:
DATE = 120421-04-14
TIME = 23:10:58.7.311D+18
Next to aboves code I use: "datevec()" and "datenum()" to create the
correct date and time.
Does anything changed in these functions between Scialb 5.4.1 and 5.5.1 ?
Thank you,
BR
Philipp
--
There we have the salad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160221/3c140eb4/attachment.htm>
More information about the users
mailing list