added task4.2 changed titles of progress windows
This commit is contained in:
+10
-2
@@ -3,11 +3,19 @@ apep_values = [250 1000 4000 8000 12000];
|
||||
|
||||
results = zeros(numel(apep_values), numel(snrs));
|
||||
|
||||
f = waitbar(0, "Starting APEP sweep");
|
||||
if exist('task2ProgressLabel', 'var')
|
||||
taskLabel = task2ProgressLabel;
|
||||
else
|
||||
taskLabel = "Task 2";
|
||||
end
|
||||
|
||||
progressTitle = taskLabel;
|
||||
progressStartText = "Starting APEP sweep";
|
||||
f = waitbar(0, progressStartText, "Name", progressTitle);
|
||||
progressTotal = numel(apep_values) * numel(snrs);
|
||||
progressQueue = parallel.pool.DataQueue;
|
||||
|
||||
parfor_waitbar(f, progressTotal, "Starting APEP sweep", true);
|
||||
parfor_waitbar(f, progressTotal, progressStartText, true);
|
||||
progressListener = afterEach(progressQueue, @(info) parfor_waitbar(f, progressTotal, info, false));
|
||||
|
||||
for apep_idx = 1 : numel(apep_values)
|
||||
|
||||
Reference in New Issue
Block a user