Home

Awesome

yamlmatlab

This is a github copy of https://code.google.com/p/yamlmatlab/ that has been packaged into +yaml namespace by Yauhen Yakimovich.

Installation

Just add the codes and all subfolders to Matlab path by

addpath(genpath('path/to/codes'));

Usage

Reading in:

yaml_file = 'test.yaml';
YamlStruct = yaml.ReadYaml(yaml_file);

Writing out

x.name='Martin';
yaml.WriteYaml('test.yaml',x)

Main authors