Hello,

I am trying to load in a large matrix from a text file to use as parameters for my application. I have been using readInt to read in the numbers one-by-one, but it doesn't seem to read them in correctly, causing me to wonder whether there is a problem with the data type in the file (it is text file output from Matlab). The file is a matrix with tab-delimited columns and return-delimited rows. Below is an excerpt from my code. I'd appreciate any advice you can give!

Thanks!

for i...
for n...

try{ d[i][n]=inputdemands.readInt();
}
catch EOFException...
catch IOException...
}}