Info

This question is closed. Reopen it to edit or answer.

I want to get hold of the values after 'File list end'&'Height(nm). The next line is different for other text file(height(nm). How do i use the sscanf function to let me get hold of the values by skipping the first 2 lines?

1 view (last 30 days)
"\*File list end"
Height(nm)
1.300629e+000 1.634633e+000 1.860253e+000 2.085872e+000 2.747246e+000 2.756094e+000 2.439785e+000 2.123475e+000 1.804954e+000 2.357942e+000 3.233876e+000 3.459495e+000 2.601257e+000 6.569501e-001 -2.585773e+000 -5.288780e+000 -4.304461e+000 -1.583759e+000 -5.529883e-002 1.143580e+000 1.804954e+000 1.488645e+000 1.822649e+000 2.265040e+000 2.707431e+000 3.149822e+000 2.725127e+000 2.517203e+000 2.742822e+000 2.318127e+000 2.218589e+000 3.094523e+000 3.320142e+000 3.112218e+000 1.712052e+000 -9.887431e-001 -3.474979e+000 -2.165502e+000 -9.511399e-002 1.322748e+000 3.067979e+000 3.401984e+000 3.085675e+000 3.419680e+000 4.078842e+000 5.173759e+000 5.832921e+000 6.058540e+000 5.850616e+000 5.642693e+000 5.001226e+000 4.574319e+000 4.691553e+000 3.941701e+000 2.866691e+000 1.139156e+000 -1.453253e+000

Answers (0)

Community Treasure Hunt

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

Start Hunting!