Create SVG files in matlab
This software is designed to create SVG files usings matlab, made up of basic shapes and texts.
It was written to create precise stimuli for running psychophysics / motor control experiments
% Open a text file for writing fp = fopen('basis.svg','w'); % start the svg with a width of 400 and height of 300 startsvg(fp,400,300); % draw a circle with a red line, filled with blue drawCircle(fp,100,100,20,4,'red','blue'); % Finish the SVG file endsvg(fp); % close the file handle fclose(fp);
See the file example.m for a full example
Jason Friedman (2023). makesvg (https://github.com/JasonFriedman/makesvg/releases/tag/1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!