Run Javascript from MATLAB

47 visualizzazioni (ultimi 30 giorni)
Goryn
Goryn il 23 Dic 2013
Commentato: Royi Avital il 30 Set 2017
I have the bfx.js file (attached). I need to run this Javascript like:
bfx.get_trades('btcusd');
bfx.get_symbols();
Is it possible to do it in MATLAB?

Risposta accettata

Jacob Halbrooks
Jacob Halbrooks il 26 Dic 2013
You cannot directly execute a JavaScript file in MATLAB. However, if you can set up a web server with a page that executes your JavaScript, you can use URLREAD from MATLAB to run it and read the output.
  2 Commenti
Sarahi RN
Sarahi RN il 1 Mar 2017
Can you as well modify the Java sccript from MATLAB; os is it merly for reading, I mean is there a writting function?
Royi Avital
Royi Avital il 30 Set 2017
Is there a way to interact with JavaScript function from MATLAB?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by