I'm learning Octave slowly.
In spite of days of searching on Google, I can't figure out why
octave won't take a simple file of hex data.
I tried making a data.txt, a simple one-column file, like this:
C2
27
4F
E
and in the main program wrote:
dummy = load('data.txt')
And no matter what I try, how I change things, I always get the error
"failed to read matrix from file."
I put quotes around each hex value -- doesn't matter. I don't understand how
to use fread,
and don't even know if that is what I am supposed to do.
I am very discouraged. Way behind in my online classes. There must be a
simple solution that I just
do not see.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Loading-hex-data-tp4644068.html
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave