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/ the emulator can process java class file

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:

  1. consider use matlab server version.
  2. consider try http://octave-online.net/ find out matlab function works independently, , function work.
  3. port function in javascript.

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -