Main Content
addJar
Class: matlab.compiler.mlspark.SparkContext
Namespace: matlab.compiler.mlspark
Add JAR file dependency for all tasks that need to be
executed in a SparkContext
Syntax
addJar(sc,filePath)
Description
addJar(
adds a JAR file
from a location specified by sc
,filePath
)filePath
to
all tasks that need to be executed in SparkContext sc
.
Input Arguments
Examples
Version History
Introduced in R2016b