15 lines
511 B
Matlab
15 lines
511 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_dirs = textscan(hint_file, '%s');
|
|
fclose(hint_file);
|
|
|
|
node_names = strrep(node_dirs{1,1}, prefix, "");
|
|
|
|
node_dirs = strcat('./runtime/', d, '/', node_dirs{1,1});
|
|
|
|
sync_datasets(node_dirs, node_names, plotrange, onlydata);
|
|
|
|
print(strcat('./runtime/', d, '/figure.svg'), '-dsvg');
|
|
end |