Using tall arrays without parallel computing toolbox

11 次查看(过去 30 天)
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!

采纳的回答

Walter Roberson
Walter Roberson 2020-3-11
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 个)

类别

Help CenterFile 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