Using Class from jar file in JavaScript file -
i have jar file contains matlab function, , need use function in javascript file. know how can use jar file in js file. how can import in js file , use it. thank you
welcome stackoverflow.
there's no such proper way run function @ optimal speed.
probably may interested in emulator: http://plasma-umass.github.io/doppio-demo/
but more on java thing, matlab function call not able run because believe java program execute matlab instance in background process matlab function , result = means system should have matlab installed. mathworks requires hold proper license run code on machine, or special way compile it + runtime installed. executing program outside of browser highly discouraged or not possible (sandboxed). of recent browsers don't have bridge operating system because of vulnerability.
so there 3 options:
- consider use matlab server version.
- consider try http://octave-online.net/ find out matlab function works independently, , function work.
- port function in javascript.
Comments
Post a Comment