Main Content
parallelize
Class: matlab.compiler.mlspark.SparkContext
Namespace: matlab.compiler.mlspark
Create an RDD from a collection of local MATLAB values
Syntax
rdd = parallelize(sc,cellArray)
rdd = parallelize(sc,cellArray,numSlices)
Description
creates
an RDD from a collection of local MATLAB® values grouped as a
cell array.rdd
= parallelize(sc
,cellArray
)
creates
an RDD with the number of partitions specified by rdd
= parallelize(sc
,cellArray
,numSlices
)numSlices
.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b