Simple MatLab functions for reading and writing YAML files that use SnakeYAML (Java)
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
yamlread.m
%Convert YAML text to data (uses SnakeYAML).
% data = yamlread(yaml) -yaml string or location of yaml file
% data = yamlread(yaml,join) -join cells where possible (default:0)
yamlwrite.m
%Convert data to YAML text (uses SnakeYAML).
% txt = yamlwrite(data) -encode data into yaml string
% yamlwrite(data,file) -write data to yaml file
Cite As
Serge (2026). Read and Write YAML files (https://github.com/serg3y/MatLab-YAML/releases/tag/1.1.2), GitHub. Retrieved .
General Information
- Version 1.1.2.0 (293 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.1.2.0 | See release notes for this release on GitHub: https://github.com/serg3y/MatLab-YAML/releases/tag/1.1.2 |
||
| 1.1.1.0 | See release notes for this release on GitHub: https://github.com/serg3y/MatLab-YAML/releases/tag/1.1.1 |
||
| 1.1.0.0 | See release notes for this release on GitHub: https://github.com/serg3y/MatLab-YAML/releases/tag/1.1 |
||
| 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.
