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?

 Respuesta aceptada

Jacob Halbrooks
Jacob Halbrooks el 26 de Dic. de 2013

0 votos

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 MATLAB Web App Server en Centro de ayuda y File Exchange.

Productos

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 23 de Dic. de 2013

Comentada:

el 30 de Sept. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by