Is it possible to publish MATLAB code that can be executed online?
Ältere Kommentare anzeigen
I have simple .m file. It contains a simulation that demonstrates the law of large numbers with a figure. What I want to do is to publish this code on a page online that can be executed online. So suppose a student is trying to understand the law of large numbers and looking for a simulation that demonstrates it. I want this strudent to find my page where he can push the run button to execute the code that generates the figure demonstrating the law of large numbers. For some reason I thught GitHub allows to do this. That is, I thought I could upload my .m file on GitHub and people visiting my GitHub page could see the code and run it online on GitHub to see what the code does, like they run it on their desktop MATLAB application. Is not this possible? Important is that public should be able to access the page. So MATLAB Online does not seem suitable as those with no MATLAB license wil not be able to run the code.
1 Kommentar
Mario Malic
am 2 Sep. 2020
If the user would only push a run button, then video/gif might be the better option.
Antworten (2)
Gareth D Souza
am 18 Jun. 2021
0 Stimmen
This article details a workflow to solve what you are trying to do.
1 Kommentar
Snoopy
am 18 Jun. 2021
4 Kommentare
Adam Danz
am 26 Jan. 2022
No, that's not currently possible.
Snoopy
am 26 Jan. 2022
Adam Danz
am 26 Jan. 2022
I wouldn't know about that. Sometimes I come across my answers from years past that claim something isn't possible and then it becomes possible so I'm careful about my wording (sometimes).
Snoopy
am 27 Jan. 2022
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!