Extract SVG Path attributes

조회 수: 2 (최근 30일)
Aldo Perez
Aldo Perez 2015년 7월 1일
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개)

카테고리

Help CenterFile Exchange에서 Other Formats에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by