Extract SVG Path attributes
2 views (last 30 days)
Show older comments
I am currently working on extracting path attributes from a particular svg file. I am able to extract the desired string that look like this:
M 398.7,106.8 c -5.5,-2.7 -20.7,-4.7 -36.1,-4.6 -15.4,0.1
or sometimes it look like the following
M398.7,106.8c-5.5-2.7-20.7-4.7-36.1-4.6s-22.1,2-22.1,2...
My goal is to extract all the letters and number in a n * 2 cell array with letters being placed by themselves in a row while numbers have to be paired together in a column. Please help.
0 Comments
Answers (0)
See Also
Categories
Find more on Other Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!