Run Javascript from MATLAB
43 views (last 30 days)
Show older comments
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
Accepted Answer
Jacob Halbrooks
on 26 Dec 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 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?
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!