You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parfor loop enables parallel processing in Matlab by starting a 'worker pool' and assigning loop iterations to different workers. It would be quite valuable since CTAP can become very slow for branching pipes with many measurements, especially running, e.g., CTAP_peek_data or ICA.
While it is trivial to change for to parfor, there are caveats.
parfor does not run iterations in assigned order, so it cannot be used for the loops that run CTAP steps, step sets, or branch pipes. Parallel processing would seem to work only for measurements
apparently parfor is incompatible with some of the code inside the measurements' for loop, e.g. the clear function, or nested functions. These would need to be changed before using parfor
The text was updated successfully, but these errors were encountered:
The
parfor
loop enables parallel processing in Matlab by starting a 'worker pool' and assigning loop iterations to different workers. It would be quite valuable since CTAP can become very slow for branching pipes with many measurements, especially running, e.g.,CTAP_peek_data
or ICA.While it is trivial to change
for
toparfor
, there are caveats.parfor
does not run iterations in assigned order, so it cannot be used for the loops that run CTAP steps, step sets, or branch pipes. Parallel processing would seem to work only for measurementsparfor
is incompatible with some of the code inside the measurements' for loop, e.g. theclear
function, or nested functions. These would need to be changed before usingparfor
The text was updated successfully, but these errors were encountered: