Run Javascript from MATLAB

47 Ansichten (letzte 30 Tage)
Goryn
Goryn am 23 Dez. 2013
Kommentiert: Royi Avital am 30 Sep. 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?

Akzeptierte Antwort

Jacob Halbrooks
Jacob Halbrooks am 26 Dez. 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 Kommentare
Sarahi RN
Sarahi RN am 1 Mär. 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 am 30 Sep. 2017
Is there a way to interact with JavaScript function from MATLAB?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by