What is the best way to share matlab code online to general public?
6 views (last 30 days)
Show older comments
Ali Fallah Yeznabad on 12 May 2021
Answered: Aditya Patil on 17 May 2021
I have a simple matlab code (just interpolation) that I want to share with general people. It is much prefered that in your suggested method they do not need to have matlab inatalled and instread it can be easily executed by them via an online tool per say.
Aditya Patil on 17 May 2021
MATLAB doesn't provide a way for users to run MATLAB code without having the license.
However, you can use MATLAB Compiler runtime for sharing an executable. MCR doesn't require end user to have MATLAB license. See What is MATLAB Compiler Runtime (MCR) and how do I install it? for details. You can separately share the code with the users.
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!