Run Javascript from MATLAB

47 vues (au cours des 30 derniers jours)
Goryn
Goryn le 23 Déc 2013
Commenté : Royi Avital le 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?

Réponse acceptée

Jacob Halbrooks
Jacob Halbrooks le 26 Déc 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 commentaires
Sarahi RN
Sarahi RN le 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 le 30 Sep 2017
Is there a way to interact with JavaScript function from MATLAB?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by