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?

 采纳的回答

Jacob Halbrooks
Jacob Halbrooks 2013-12-26

0 个投票

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 个评论

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?

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Web App Server 的更多信息

产品

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by