Import-Export and Plot-SVG files
조회 수: 30 (최근 30일)
이전 댓글 표시
Hey guys I was trying to use the function on the following link to import, export and plot a file with svg format: https://de.mathworks.com/matlabcentral/fileexchange/66554-svg-import-export . The 'example' in the link worked with the the file 'building.svg', but it doesn't work when I try to load my own file. Can someone help me with that please?... Here is the error code:
>> example
Dot indexing is not supported for variables of this type.
Error in loadSVG (line 43)
image.x=str2num(char(item.getAttribute('x')));
Error in example (line 1)
svg=loadSVG('einstufigesZR.svg');
>>
and attached is my own simple file as an example.
Thanks guys for the help.
댓글 수: 1
Alan Meier
2020년 7월 14일
편집: Alan Meier
2020년 7월 14일
This function might also be useful: https://www.mathworks.com/matlabcentral/fileexchange/72225-load-svg-into-your-matlab-code
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!