jpr105
Computer
- Feb 7, 2007
- 12
Hi everyone,
I am trying to read a parsed xml file in the form of a .dat file into matlab. I have been using load filename.dat to obtain my matrix in the variable filename, but whenever I go to use the matrix, the leading zeros are missing from the first column.
The dat file has the following (shortened) contents:
0110 8 267 1 287
0111 10 266 3 286
Is there anyway that it can read it exactly how it is in the .dat file including these leading 0's?
Any help would be much appreciated.
Many thanks,
J
I am trying to read a parsed xml file in the form of a .dat file into matlab. I have been using load filename.dat to obtain my matrix in the variable filename, but whenever I go to use the matrix, the leading zeros are missing from the first column.
The dat file has the following (shortened) contents:
0110 8 267 1 287
0111 10 266 3 286
Is there anyway that it can read it exactly how it is in the .dat file including these leading 0's?
Any help would be much appreciated.
Many thanks,
J