Read and Write YAML files

Simple MatLab functions for reading and writing YAML files that use SnakeYAML (Java)

https://github.com/serg3y/MatLab-YAML

You are now following this Submission

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

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.