n = numpartitions(ADS)
returns the default number of partitions for the datastore, ADS. The
default number of partitions is the total number of files.
n = numpartitions(ADS,pool)
returns a reasonable number of partitions to parallelize ADS over the
parallel pool, based on the total number of files and the number of workers in pool. To
parallelize datastore access, you must have Parallel Computing Toolbox™ installed.
Use numpartitions to estimate a reasonable number of partitions for the audio datastore, ADS. By default, numpartitions returns the number of files the audio datastore points to.
n = numpartitions(ADS)
n = 34
Number of Partitions for Parallel Datastore Access
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.