MATLAB: Convert .svg to .jpg using matlab

svg jpg video

Dear People, First of all I want to thank the help provided in my previous doubts. Now I am facing a problem related with .svg extensions. In particular, I generate several figures in .svg via matlab and I want to save them as a .jpg in order to merge them in a video. Therefore my question is, can I create a jpg from an .svg using matlab? Thanks in advance!

Best Answer

MATLAB cannot import SVGs directly. There is a java implementation, which can be called from MATLAB, but there are easier and more direct solutions: inkscape and OpenOffice are better for such jobs.
[EDITED, 13-Oct-2011 10:24 UTC]: You can ask Google about programs for a batch conversion: http://www.google.de/search?q=batch+convert+svg+to+jpg
But I assume, exporting JPGs directly would be even easier.