You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This program converts a set of fig files located in a directory in to jpg files. The program runs through the directory and gets a list of fig file names. These files are then read using the ‘openfig’ command and the output is written using ‘saveas’ command. For example, a file named 'image.fig' will be read and saved as 'image.fig.jpg'.
The only variable that needs to be changed is the figdirectory
Bonus: You can use the parsing directory structure to read any kind of files located in a directory.
Cite As
Ravi Chityala (2026). fig2jpg (https://www.mathworks.com/matlabcentral/fileexchange/20608-fig2jpg), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (385 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
