MATLAB Answers

What is the best way to share matlab code online to general public?

2 views (last 30 days)
Ali Fallah Yeznabad
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.

Answers (1)

Aditya Patil
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.

Community Treasure Hunt

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

Start Hunting!

Translated by