Skip to content

Releases: mathworks/matlab-toml-yaml

v0.1.3

Choose a tag to compare

@aylindmello aylindmello released this 01 Oct 13:20
Immutable release. Only release title and notes can be modified.
56d84fa

Patch release with bug fixes.

Installation

Download the .mltbx file. Open the file in MATLAB, or install programmatically:

matlab.addons.toolbox.installToolbox("MATLAB_Toolbox_for_TOML_and_YAML.mltbx")

Quick Start

Reading Files

% Read YAML
config = readyaml("server_config.yaml");
host = config.database.host;

% Read TOML
project = readtoml("simple_project.toml");
name = project.project.name;

% Keys with special characters
deps = project.("build-system").requires;

Writing Files

% Create data
config = yamldata();
config.name = "MyApp";
config.database.host = "localhost";
config.database.port = 5432;

% Write YAML
writeyaml(config, "my_config.yaml");

% Write TOML
writetoml(config, "my_config.toml");

v0.1.2

Choose a tag to compare

@aylindmello aylindmello released this 16 Sep 15:47
Immutable release. Only release title and notes can be modified.

Patch release with packaging improvements.

  • Bundle README.md in MLTBX file

Installation

Download the .mltbx file. Open the file in MATLAB, or install programmatically:

matlab.addons.toolbox.installToolbox("MATLAB_Toolbox_for_TOML_and_YAML.mltbx")

Quick Start

Reading Files

% Read YAML
config = readyaml("server_config.yaml");
host = config.database.host;

% Read TOML
project = readtoml("simple_project.toml");
name = project.project.name;

% Keys with special characters
deps = project.("build-system").requires;

Writing Files

% Create data
config = yamldata();
config.name = "MyApp";
config.database.host = "localhost";
config.database.port = 5432;

% Write YAML
writeyaml(config, "my_config.yaml");

% Write TOML
writetoml(config, "my_config.toml");

v0.1.1

Choose a tag to compare

@aylindmello aylindmello released this 14 Sep 21:46
Immutable release. Only release title and notes can be modified.

Patch release with packaging improvements.

  • Bundle license file in the .mltbx toolbox package
  • Rename LICENSE to license.txt per toolboxdesign guidelines
  • Fix CI failures on R2022b (lint compatibility, test path setup, display tests)

v0.1.0

Choose a tag to compare

@aylindmello aylindmello released this 14 Sep 21:12
Immutable release. Only release title and notes can be modified.

Initial release of the MATLAB Toolbox for TOML and YAML.

Features

  • Read and write YAML and TOML configuration files
  • Dot notation access to configuration data
  • Key aliasing for special-character keys (e.g., build-system → build_system)
  • Nested object creation via dot assignment
  • Non-scalar object array support with missing fill for absent keys
  • Value class semantics (assignment creates independent copies)
  • Metadata support for controlling output formatting
  • Minimum MATLAB version: R2022b

Installation

Download the .mltbx file and open it in MATLAB, or install via the Add-On Manager.