In this project the Javascript library React was used to build a front-end in Javascript and Matlab was used for the the back-end. The front-end and back-end are coupled by using the Modelit Webserver toolbox, where the use of Websockets makes it possible to have two-way communication. I.e. the front-end can send messages to the back-end and vice versa.
An example of how this works will be published soon!