Extract SVG Path attributes

3 visualizaciones (últimos 30 días)
Aldo Perez
Aldo Perez el 1 de Jul. de 2015
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.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by