MATLAB SDK
Get data from Marple DB in MATLAB

Installation
Get the latest
matlab/folder from the Marple SDK repository (or pin a release tagmatlab-v*).Add that folder to your MATLAB path:
Create
config.jsonin the same directory asDB.m:
Create the client:
You can use MATLAB Online for testing (free tier available).
Usage
get_data returns a MATLAB table with a time column and a column named after the signal. Time is nanoseconds (UTC when the source used datetimes).
Upload a file and wait for import
Use Overwrite=true to replace an existing dataset with the same name. For MATLAB .mat files, create a files stream with Plugin="mat".

Add signals (custom ingest)
Upload returns after the API accepts completion; the Iceberg commit may still be running, so the signal may not be readable immediately.
Other helpers
create_stream(name, ...)— create a stream (Type,Plugin,PluginArgs, …)get_signals(stream_name, dataset_id)— list signalsupdate_metadata(stream_name, dataset_id, metadata)— merge dataset metadataclear_cache()— delete the local parquet cachehealth()— API health check
See DB.m and matlab/example.m in the repository for the full surface. Version history: matlab/CHANGELOG.md.
Resampling / combining signals
Combine tables with built-in MATLAB functions, for example:
Caching
Downloaded parquet files are cached under, call mdb.clear_cache() to remove the folder
Compatibility (older MATLAB)
MATLAB older than R2023a cannot read ZSTD-compressed Parquet. On first use the SDK downloads a small parquet-transcode helper into matlab/_marplecache/ (Windows x64, macOS ARM, Linux x64). The same helper is used when uploading via add_signal.
Discover the MATLAB SDK in 1 minute
Want to discover more Marple features in 1 minute? Check out other 1 Minute Marple videos
Last updated