Need help on Matlab
Say the matrix generated in 1st m-file is stored as the following variable:
A = [a b c; d e f]
You can use 'save' command to save the variable A into a MAT file.
Then, in 2nd m-file, use 'load' to load the variabled stored in the MAT file. Then you can manipulate the matrix, e.g. to assing the row of the matrix to another variable.
Another option:
You can write the file name of the 2nd m-file at the end of the 1st m-file. In this case, you can manipulate the matrix without requiring to save it into MAT and load again later.