I have a txt file (extract attached) from which I need to collect all the numerical values. I have used the dlmread, readmatrix, load, and importdata functions all with no success. When using the load function:
k_input = load('Element Stiffness Matrices 1.txt');
I get the following error: "Number of columns on line 2 of ASCII file Element Stiffness Extract.txt must be the same as previous lines." When using the importdata function:
k_input = importdata('Element Stiffness Matrices 1.txt');
The textdata file formed only contains text from the first few rows of the txt file. The txt file gives stiffness matrices, outputted from FE software Abaqus. I am trying to create an autonomous code that reads this data into matlab so manual intervention will not be possible. The full file is very large (nearly 500,000 lines with over 5000 repeats of data similar to that in the extract) and can be reduced to a sixth of the size but no smaller, which would still leave a very large file.
Any help would be appreciated, thanks for your help in advance.