Run Javascript from MATLAB

71 visualizaciones (últimos 30 días)
Goryn
Goryn el 23 de Dic. de 2013
Comentada: Royi Avital el 30 de Sept. de 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?

Respuesta aceptada

Jacob Halbrooks
Jacob Halbrooks el 26 de Dic. de 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 comentarios
Sarahi RN
Sarahi RN el 1 de Mzo. de 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 el 30 de Sept. de 2017
Is there a way to interact with JavaScript function from MATLAB?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by