Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 412 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 412 Bytes

YAMLMatlab

This imports YAML files into MATLAB. I found this on the Google Code Archive. I've copied it here so that it can be easily be submoduled into other projects.

Usage

  1. Add the path to this cloned repository: addpath('path/to/this/repo')
  2. Reading: YamlStruct = ReadYaml('filename.yaml')
  3. Writing:
    • Create struct: x.name = 'Martin'
    • Create YAML: WriteYaml('filename.yaml',x)