checkPCT

PURPOSE ^

checkPCT check that Parallel Computing Toolbox is installed and licensed

SYNOPSIS ^

function checkPCT()

DESCRIPTION ^

checkPCT  check that Parallel Computing Toolbox is installed and licensed

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function checkPCT()
0002 %checkPCT  check that Parallel Computing Toolbox is installed and licensed
0003 
0004 %   Copyright 2011 The MathWorks, Inc.
0005 
0006 
0007 pctInstalled = exist( 'gpuArray', 'file' ) == 2;
0008 if ~pctInstalled
0009     error( 'GPUBench:PCTNotInstalled', 'GPUBench requires Parallel Computing Toolbox which does not appear to be installed.' );
0010 end
0011 
0012 pctLicensed = license( 'test', 'distrib_computing_toolbox' );
0013 if ~pctLicensed
0014     error( 'GPUBench:NoPCTLicense', 'No Parallel Computing Toolbox license was available.' );
0015 end

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.