Using tall arrays without parallel computing toolbox

I am using tall arrays to read in a large dataset in MATLAB. When I call the tall() function, it automatically tries to start a parallel pool, for example:
A = [2,1;1,3];
B = tall(A);
Starting parallel pool (parpool) using the 'local' profile ...
But there is some issue with my parallel computing toolbox license, so this causes MATLAB to crash. Is there some way I can use tall arrays without starting a parallel pool? Thanks in advance!

 采纳的回答

If you want to turn off automatically opening a parallel pool, change your parallel preferences. If you turn off the Automatically create a parallel pool option, then you must explicitly start a pool if you want the tall function to use it for parallel processing. See Specify Your Parallel Preferences.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

产品

版本

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by