Extract SVG Path attributes

4 ビュー (過去 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 Center および File ExchangeOther Formats についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by