added task4.2 changed titles of progress windows

This commit is contained in:
ti_mo
2026-06-12 13:30:30 +02:00
parent 021617fe50
commit 9065374ea7
6 changed files with 756 additions and 14 deletions
+5 -2
View File
@@ -1,7 +1,9 @@
if use_t1_as_t4
mcs_values_t1 = mcs_values;
progressTitle = "Task 4.1";
else
mcs_values_t1 = [2];
progressTitle = "Task 1";
end
[cfgEHT, simParameters, channel, chInfo, maxChDelay, satelliteDopplerShift, chanBW] = ...
@@ -25,12 +27,13 @@ packetCounts = zeros(numel(mcs_values_t1), numel(snrs));
errorRates = zeros(numel(mcs_values_t1), numel(snrs));
cfrMagnitudesBySnr = cell(numel(mcs_values_t1), numel(snrs));
f = waitbar(0, "Starting");
progressStartText = "Starting MCS sweep";
f = waitbar(0, progressStartText, "Name", progressTitle);
progressTotal = numel(mcs_values_t1) * numel(snrs);
progressQueue = parallel.pool.DataQueue;
parfor_waitbar(f, progressTotal, "Starting MCS sweep", true);
parfor_waitbar(f, progressTotal, progressStartText, true);
progressListener = afterEach(progressQueue, @(info) parfor_waitbar(f, progressTotal, info, false));
for imcs = 1 : numel(mcs_values_t1)