version 3.1.1 (1.01 MB) by Geoff McVittie
Create JavaScript and WebAssembly apps and libraries from MATLAB projects using MATLAB Coder.


Updated Mon, 06 Dec 2021 14:21:02 +0000

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Generate JavaScript using MATLAB Coder Add-On in combination with the Emscripten compiler converts your MATLAB functions into high-performance, client-side JavaScript/WebAssembly apps and libraries. Generated code can be compiled, embedded, and run in any modern browser; including, Google Chrome, Mozilla FireFox, Microsoft Edge, and Apple Safari. The generated code can also be run in standalone JavaScript engines, such as NodeJS.
Sample projects can be seen at these links:
If you would like your project showcased here, please reach out to me. Thank you.

Cite As

Geoff McVittie (2022). GenerateJavaScriptUsingMATLABCoder (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with R2021a and later releases
Platform Compatibility
Windows macOS Linux

Inspired: Image Sudoku Solver on Browser

Community Treasure Hunt

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

Start Hunting!