MATLAB SDK
Get data from Marple DB in MATLAB

Installation
The SDK is currently shipped as a
DB.mfile, get the latest file in the Marple SDK Gitlab repository.Place
DB.min your current directory, or in a directory that is on your MATLABpathso that it's reachable by your scripts.Create a file
config.jsonin the same directory as theDB.mscript. Add the following values:
Usage
mdb.get_data will always return a MATLAB table with one column time and one column with the name of the signal requested. The time is always given in nanoseconds, and as a UTC timestamp if the original data was datetimes.

If you want to combine multiple tables, it might require resampling of your signals to be able to combine them into calculations or visualisations. You can use built-in MATLAB functions to do this:
Caching
The MATLAB SDK builds up automatic caching of data that you have used in previous runs of your script. On each run, the SDK will check if it needs the fetch the data from Marple DB or not. This speeds up your scripts a lot if you are doing similar analysis multiple times, or if you are continuously tweaking a script.
The cache files are located at cold/ in your current working directory.
Roadmap
The following features are planned for Q1 2026:
Resampling for multiple signals at once
Uploading data
Easy filtering on file metadata
Future roadmap:
Loading multiple parquet files at once (for very large signals)
Configuring caching strategy
Last updated