octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #50157] fwrite input argument type


From: Rik
Subject: [Octave-bug-tracker] [bug #50157] fwrite input argument type
Date: Thu, 26 Jan 2017 17:13:16 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #50157 (project octave):

jwe's diagnosis is correct.  The problem is the difference between
scalar/matrix rather than between say double/uint32.  See the following.


octave:1> fid = fopen ('file.dat', 'wb');
octave:2> fwrite (fid, uint32([1 2]), 'uint32')
ans =  2
octave:3> fwrite (fid, uint32([1]), 'uint32')
error: octave_base_value::write(): wrong type argument 'uint32 scalar'




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50157>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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