Run Javascript from MATLAB

47 次查看(过去 30 天)
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?

采纳的回答

Jacob Halbrooks
Jacob Halbrooks 2013-12-26
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 个评论
Sarahi RN
Sarahi RN 2017-3-1
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 2017-9-30
Is there a way to interact with JavaScript function from MATLAB?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by