You know you can generate C-code from MATLAB….but you can’t deploy that as part of a web application as it won’t run in the web browser.
That’s a fair question. Technically there’s nothing preventing you from doing that.
I argue its easier to create, manage, and process arrays of data and equations in MATLAB. So writing the algorithm may be simpler.
However, data synthesis is the part I find most valuable. It is very easy to synthesize data in MATLAB for the purposes of testing our algorithms and ideas. I can very easily create different synthetic datasets, import data from different files, and create test cases for exciting our MATLAB algorithms.
The kind of features needed to create datasets, read datafiles, or review output results need to be created in these other lower-level languages, which makes testing complex computational algorithms trickier.
A Exemplar File Exchange Submission
Geoff has created a complete package that includes:
- Easy setup instructions
In addition he has added some features that enable you to target different types of code entrypoints that you would find in web applications, like mouse event callbacks.
He also included some functions that enable basic debugging once the code is deployed to the browser, like the ability to print messages in the developer console of your web browser.
What do you think?
Let us know here.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.