MATLAB Answers

How to deploy a functional live script to the web

7 views (last 30 days)
Manuel Schaich
Manuel Schaich on 17 Jul 2021
Answered: Vineet Joshi on 20 Jul 2021
Hello,
is there a way to deploy an interactive live script to the web?
I have made some nice interactive live scripts with controls etc. that allow you to explore behaviours of different approximation algorithms and refresh when sliders are dragged etc. It is very cool to use in the foreground but the regular publishing removes all the interactivity. There is the option of putting them on file exchange but that would somewhat break the narrative if I wanted to have them as a demo on my website. Is there a way that I could embed functional live scripts into my own website?
When I look at the gallery here. The scripts open in a session of Matlab online, so presumably they only work because I have a license for it.
Is there maybe an option where I can get a license for the matlab production server or so and then the live script still is interactive, but doesn't need to live inside of a matlab instance?
I hope you can help,
Manuel
  1 Comment
Rik
Rik on 17 Jul 2021
I know there are ways to make AppDesigner apps available as web pages. How that works exactly and what you would need to do is something I would have to Google as well. I don't know if there are options to publish an interactive live script as a web page.

Sign in to comment.

Answers (1)

Vineet Joshi
Vineet Joshi on 20 Jul 2021
Hi
MATLAB Compiler allows you to create standalone executebles and web applications. You can host these in the MATLAB Web App Server.
You can also look at MATLAB Compiler SDK which helps you in creating integratable software components from MATLAB applications.
Hope this was helpful.
Thanks

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!