Run Javascript from MATLAB

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

0 voti

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 MATLAB Web App Server in Centro assistenza e File Exchange

Prodotti

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by