[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Loading hex data
From: |
ionavideo |
Subject: |
Loading hex data |
Date: |
Wed, 12 Sep 2012 23:40:22 -0700 (PDT) |
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.
- Loading hex data,
ionavideo <=