MATLAB Answers

Goryn
0

Run Javascript from MATLAB

Asked by Goryn
on 23 Dec 2013
Latest activity Commented on by Royi Avital on 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?

  0 Comments

Sign in to comment.

Tags

No tags entered yet.

Products

1 Answer

Answer by Jacob Halbrooks on 26 Dec 2013
 Accepted Answer

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 Comments

Sarahi RN on 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?
Is there a way to interact with JavaScript function from MATLAB?

Sign in to comment.