I have a bunch of matrices calculated for a specific problem and want to put them into Matlab for data analysis. I can already see them in the log file, but I want the individual matrices saved as their own files so I can mess around with them individually.
(1) Use ‘ofstream’ to write the FreeFEM matrices as text files. Then read the text file in MATLAB to form the matrix using the row and column index and the corresponding value.