str = fileread('Simulation_Results.txt')
str =
'Time Elapsed Algorithm 1: 0.226373
Num of Users: 9
Time Elapsed Algorithm 2: 0.301075
Num of Users: 9
Time Elapsed Algorithm 3: 0.302607
Num of Users: 9
Time Elapsed Algorithm 1: 0.543193
Num of Users: 18
Time Elapsed Algorithm 2: 0.571813
Num of Users: 18
Time Elapsed Algorithm 3: 0.813169
Num of Users: 18
Time Elapsed Algorithm 1: 1.07906
Num of Users: 27
Time Elapsed Algorithm 2: 1.05138
Num of Users: 27
Time Elapsed Algorithm 3: 0.999459
Num of Users: 27
Time Elapsed Algorithm 1: 1.71224
Num of Users: 36
Time Elapsed Algorithm 2: 1.37632
Num of Users: 36
Time Elapsed Algorithm 3: 1.42004
Num of Users: 36
Time Elapsed Algorithm 1: 1.80948
Num of Users: 45
Time Elapsed Algorithm 2: 1.37436
Num of Users: 45
Time Elapsed Algorithm 3: 1.65804
Num of Users: 45
Time Elapsed Algorithm 1: 1.88339
Num of Users: 54
Time Elapsed Algorithm 2: 1.68589
Num of Users: 54
Time Elapsed Algorithm 3: 1.67572
Num of Users: 54
Time Elapsed Algorithm 1: 2.75575
Num of Users: 63
Time Elapsed Algorithm 2: 2.58013
Num of Users: 63
Time Elapsed Algorithm 3: 2.33181
Num of Users: 63
Time Elapsed Algorithm 1: 4.09326
Num of Users: 72
Time Elapsed Algorithm 2: 3.20119
Num of Users: 72
Time Elapsed Algorithm 3: 3.1917
Num of Users: 72
Time Elapsed Algorithm 1: 6.97589
Num of Users: 81
Time Elapsed Algorithm 2: 4.13146
Num of Users: 81
Time Elapsed Algorithm 3: 4.14442
Num of Users: 81
Time Elapsed Algorithm 1: 11.3555
Num of Users: 90
Time Elapsed Algorithm 2: 5.18295
Num of Users: 90
Time Elapsed Algorithm 3: 5.1702
Num of Users: 90
Time Elapsed Algorithm 1: 20.0274
Num of Users: 99
Time Elapsed Algorithm 2: 6.34679
Num of Users: 99
Time Elapsed Algorithm 3: 6.32009
Num of Users: 99
Time Elapsed Algorithm 1: 31.1671
Num of Users: 108
Time Elapsed Algorithm 2: 7.55464
Num of Users: 108
Time Elapsed Algorithm 3: 7.56211
Num of Users: 108
Time Elapsed Algorithm 1: 47.7765
Num of Users: 117
Time Elapsed Algorithm 2: 8.93815
Num of Users: 117
Time Elapsed Algorithm 3: 8.88728
Num of Users: 117
Time Elapsed Algorithm 1: 74.1714
Num of Users: 126
Time Elapsed Algorithm 2: 10.3712
Num of Users: 126
Time Elapsed Algorithm 3: 10.3819
Num of Users: 126
Time Elapsed Algorithm 1: 112.762
Num of Users: 135
Time Elapsed Algorithm 2: 11.9439
Num of Users: 135
Time Elapsed Algorithm 3: 11.9405
Num of Users: 135
Time Elapsed Algorithm 1: 171.703
Num of Users: 144
Time Elapsed Algorithm 2: 13.6046
Num of Users: 144
Time Elapsed Algorithm 3: 13.6214
Num of Users: 144
Time Elapsed Algorithm 1: 227.588
Num of Users: 153
Time Elapsed Algorithm 2: 15.4473
Num of Users: 153
Time Elapsed Algorithm 3: 15.4624
Num of Users: 153
Time Elapsed Algorithm 1: 378.988
Num of Users: 162
Time Elapsed Algorithm 2: 17.2862
Num of Users: 162
Time Elapsed Algorithm 3: 17.332
Num of Users: 162
Time Elapsed Algorithm 1: 510.075
Num of Users: 171
Time Elapsed Algorithm 2: 19.3588
Num of Users: 171
Time Elapsed Algorithm 3: 19.2924
Num of Users: 171
Time Elapsed Algorithm 1: 712.09
Num of Users: 180
Time Elapsed Algorithm 2: 21.4451
Num of Users: 180
Time Elapsed Algorithm 3: 21.4941
Num of Users: 180
Time Elapsed Algorithm 1: 1259.03
Num of Users: 189
Time Elapsed Algorithm 2: 23.7443
Num of Users: 189
Time Elapsed Algorithm 3: 23.5701
Num of Users: 189
Time Elapsed Algorithm 1: 1374.62
Num of Users: 198
Time Elapsed Algorithm 2: 26.0626
Num of Users: 198
Time Elapsed Algorithm 3: 25.9014
Num of Users: 198
'
tkn = regexp(str,'(\d+):\s*(\d\S+)\s*\n[^\n]+:\s*(\d+)','tokens');
mat = str2double(vertcat(tkn{:}))
mat = 66×3
1.0000 0.2264 9.0000
2.0000 0.3011 9.0000
3.0000 0.3026 9.0000
1.0000 0.5432 18.0000
2.0000 0.5718 18.0000
3.0000 0.8132 18.0000
1.0000 1.0791 27.0000
2.0000 1.0514 27.0000
3.0000 0.9995 27.0000
1.0000 1.7122 36.0000