MATLAB LOADING DATA FROM A .TXT FILE?
Please I need some help with this to finish my thesis.
I tried to load the solution.txt file in MATLAB, but i have been
unable to do it because it sais that there is a format problem
with the first rows, however i only need to load the rows 6 to 9 from the file
wich have a recognazible format and can be loaded with the textread function
The solution.txt file has the following data:
OBJECTIVE FUNCTION VALUE
1) 3942307.
VARIABLE VALUE REDUCED COST
UI001 0.02 -96876.960938
UI002 0.06 359612.000000
UI003 0.01 392966.000000
UI004 0.05 392966.000000
ROW SLACK OR SURPLUS DUAL PRICES
2) 0.000000 -30.976025
I only need to load rows 6 to 9, without changing in any way the solution.txt file.
The data i need would be:
UI001 0.02 -96876.960938
UI002 0.06 359612.000000
UI003 0.01 392966.000000
UI004 0.05 392966.000000
Could someone please tell me what function can i use to load the solution.txt file
but delimited only to the rows 6 to 9?
Thank you