Hello everyone,
Anybody knows how to read a matrix from a txt file and then print an element of a given column and row? I am looking for something like given a matrix of 3 columns and 3 rows stored in the file matrix.txt:
1 2 3
4 5 6
7 8 9
print the element in the second line and third column, i.e., 6
Thank you for your help, I am quite new in TCL and I am having some difficulties finding this information.