Matlab to apahe Spark

2 visualizzazioni (ultimi 30 giorni)
nwayyu aung
nwayyu aung il 13 Set 2018
Modificato: Walter Roberson il 14 Set 2018
mcc -m deployToSparkMlApiLocal.m -a toolbox/matlab/demos/airlinesmall.csv
I run this command, I see the following error.
The specified file "toolbox/matlab/demos/airlinesmall.csv" is not supported with the "-a" option.

Risposta accettata

Kojiro Saito
Kojiro Saito il 13 Set 2018
You need to specify airlinesmall.csv path with MATLAB Root directory. For example, if MATLAB is installed in /usr/local/MATLAB/R2018a, the mcc command should be:
mcc -m deployToSparkMlApiLocal.m -a /usr/local/MATLAB/R2018a/toolbox/matlab/demos/airlinesmall.csv

Più risposte (1)

nway yu
nway yu il 13 Set 2018
Yes, I do. I run /usr/local/MATLAB/R2017b/toolbox etc... But I see this error
  1 Commento
Kojiro Saito
Kojiro Saito il 14 Set 2018
Could you confirm you have read access to the csv file?

Accedi per commentare.

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by