I need help with coding part as to copy and paste the data from one file to another but section wise with the same line name in place. Thank you

1 visualizzazione (ultimi 30 giorni)
Thanking you all in advance.
I have attached here the smaller file called .mat file and the main file named as .Main file. Both these files are in a similar format. Now, I need help with coding part as to copy and paste the data from the .mat file into the Main file such that the entire row from .mat file is copied into the main file having same row name and it has to be at the end of the row with the same name. For example, here we have CTETRA in .mat file and I would like all that data to be placed after the last line of CTETRA in the main file. Similarly for GRID, PSOLID, MAT and MATF wil be after MAT1. All details in the main file should be unchanged other than those pasted from .mat file. Also, the "end data " from the last line of .mat file needs to be ignored.
Kindly please help me in this as I am a beginner in coding with Matlab.
Thank you

Risposte (0)

Prodotti


Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by