Read/write Alternate Data Streams (ADS)

Read/write Alternate Data Streams (ADS) in Matlab
13 Downloads
Updated 27 Feb 2023

Read/write Alternate Data Streams (ADS) in Matlab

Interact with Alternate Data Streams (ADS) on NTFS-files.

Only tested on Windows.

Examples:
% add "123" to stream "world" in hello.txt, if file missing, it will be created
success = tamara.ads.set('hello.txt', 'world', '123')

% read out value
[success, val] = tamara.ads.get('hello.txt', 'world')

% write more values
success = tamara.ads.set('hello.txt', 'test1', 'abc')
success = tamara.ads.set('hello.txt', 'test2', 789)

% read out all streams, except main stream
[success, val] = tamara.ads.get('hello.txt', '*')

% clear all streams, except main stream
success = tamara.ads.clear('hello.txt')
[success, val] = tamara.ads.get('hello.txt', '*')

License:
BSD 3-Clause, see LICENSE for details

Copyright (c) 2023, Wolkesson & Hansson Teknisk Akustik AB. All rights reserved.

View read/write ADS on File Exchange

Cite As

Lars Hansson (2026). Read/write Alternate Data Streams (ADS) (https://github.com/tekniskakustik/ads/releases/tag/v0.1.0.4), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

+tamara

+tamara/+ads

Version Published Release Notes
0.1.0.4

See release notes for this release on GitHub: https://github.com/tekniskakustik/ads/releases/tag/v0.1.0.4

0.1.0.3

See release notes for this release on GitHub: https://github.com/tekniskakustik/ads/releases/tag/v0.1.0.3

0.1.0.2

See release notes for this release on GitHub: https://github.com/tekniskakustik/ads/releases/tag/v0.1.0.2

0.1.0.1

See release notes for this release on GitHub: https://github.com/tekniskakustik/ads/releases/tag/v0.1.0.1

0.1

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.