[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
load hex data from a text file
From: |
parafux |
Subject: |
load hex data from a text file |
Date: |
Fri, 25 Oct 2019 01:40:07 -0500 (CDT) |
Hi,
i use matlab and octave on Linux.
I have a file test.txt with this content:
0xA 0xB
0xC 0xD
I load the data in matlab with this command:
x=load("test.txt")
I get this result, seems that the programmer implemented a fridays 13th joke
>> x
x =
10 11
12 14
I also try this load command in Octave, but get this error:
octave:18> x=load("test.txt");
error: load: failed to read matrix from file 'test.txt'
I was hoping to get an easy wey to load that hex values from file into a
variable.
can anymody help?
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- load hex data from a text file,
parafux <=
- Re: load hex data from a text file, Andrew Janke, 2019/10/25
- Re: load hex data from a text file, Mike Miller, 2019/10/25
- Re: load hex data from a text file, Nicholas Jankowski, 2019/10/25
- Re: Re: load hex data from a text file, John W. Eaton, 2019/10/28
- Re: Re: load hex data from a text file, Mike Miller, 2019/10/28