输入数据存储。您可以使用数据存储function to create a datastore object from your data.
n—分区数 positive integer
分区数,指定为正整数。
If you specify a number of partitions that is not a numerical factor of the number of files in the datastore,partitionwill place each of the remaining observations in the existing partitions, starting with the first partition.
的价值filename必须完全匹配Files数据存储的属性. To ensure that the file names match exactly, specifyfilenameusingds.Files{N}whereN是文件中文件的索引Filesproperty. For example,ds.files {3}指定数据存储中的第三个文件ds.
您可以使用partitionwith other datastores if you have Parallel Computing Toolbox™. To do so, run the function using a process-backed parallel pool instead of using背景池或者螺纹池(use eitherProcessPool或者ClusterPool)。
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.