SampleReceiver/MATLAB/read_multistream_dir.m
Wiesner András 22233ce62d - earlier capabilities are accessible from Python
- MultiStreamReceiver and SampleWriter cleaned
- AcquisitionFormat introduced
- Logger created
- MultiStreamProcessor idea introduced, MultiStreamToFile introduced
- MATLAB scripts have been modified to load new capture folder structure
- began implementing MultiStreamOscilloscope
2022-05-05 00:11:48 +02:00

15 lines
517 B
Matlab

function read_multistream_dir(d, prefix, plotrange, onlydata)
% get directories containing samples
hint_file_name = strcat('./runtime/', d, '/node_dir_hint.txt');
hint_file = fopen(hint_file_name);
node_files = textscan(hint_file, '%s');
fclose(hint_file);
node_names = strrep(node_files{1,1}, prefix, "");
node_files = strcat('./runtime/', d, '/', node_files{1,1});
sync_datasets(node_files, node_names, plotrange, onlydata);
%print(strcat('./runtime/', d, '/figure.svg'), '-dsvg');
end