I have a input txt file as shown below:
*Heading U:/Mesh_Sphere_faible.inp*Node1, 0.061725, 0.271605, 0.415235772, 0.05795391, 0.39902727, 0.295666343, 0.012345, 0.054321, 0.083047155*Element, type=C3D10, ELSET=PART11, 150, 1278, 1280, 1282, 3738, 3742, 3740, 3739, 3741, 37432, 62, 700, 702, 704, 2342, 3747, 3745, 3744, 3746, 37483, 242, 1863, 1866, 1865, 3749, 3753, 3751, 3750, 3752, 3754
I want to read the data after line of '*Node'. I have tried
A=dlmread('Mesh_Sphere_faible.dat','',4,0)
but always stopped at line:
2, 0.05795391, 0.39902727, 0.29566634
How can I realise it?
And I also want to read until line
*Element, type=C3D10, ELSET=PART1
appears.
What can I do?
Best Answer