Releases: mathworks/matlab-toml-yaml
Releases · mathworks/matlab-toml-yaml
Release list
v0.1.3
Immutable
release. Only release title and notes can be modified.
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
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
Immutable
release. Only release title and notes can be modified.
Patch release with packaging improvements.
- Bundle license file in the
.mltbxtoolbox package - Rename
LICENSEtolicense.txtper toolboxdesign guidelines - Fix CI failures on R2022b (lint compatibility, test path setup, display tests)
v0.1.0
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
missingfill 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.