Create SVG files in matlab
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
makesvg
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
Usage example:
% 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
Cite As
Jason Friedman (2026). makesvg (https://github.com/JasonFriedman/makesvg/releases/tag/1.0), GitHub. Retrieved .
General Information
- Version 1.0 (6.92 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
