Skip to content

Instantly share code, notes, and snippets.

View lmperry's full-sized avatar

Michael Perry lmperry

View GitHub Profile
@lmperry
lmperry / startParpool.m
Created November 6, 2019 21:51
Open and configure a Matlab parpool in a Flywheel Gear
function [ nWorkers ] = startParpool(flywheelFlag)
% Open and configure the parpool
%
% Syntax:
% [ nWorkers ] = startParpool( nWorkers, verbosity )
%
% Description:
% This routine opens the parpool (if it does not currently exist)
% and returns the number of available workers.
%