how to extract XYZ coordinates from G code file. or excel equivalent commands in matlab

17 views (last 30 days)
I want to extract XYZ coordinates from a G code program. when i import the .txt file matlab consider whole line as single cell like 'N10 G01 X30 Y40 F200' as one . I want to generate separate XYZ columns. I am able to do it in excel using mid() find() if() iferror()etc such functions. But no success in matlab. Anybody knows equivalent functions in matlab. ? or guide me about the procedure how to do it. ?
I am very much beginner at matlab.
  4 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!