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.
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.