Read and Write YAML files
Version 1.1.2.0 (293 KB) by
Serge
Simple MatLab functions for reading and writing YAML files that use SnakeYAML (Java)
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 .
MATLAB Release Compatibility
Created with
R2023a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 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.
