Is there a program that allows a user to run a matlab script outside the software?

50 views (last 30 days)
Hello, I have written a MATLAB script that will be very valuable to a number of people in my organization. It's a simple script that analyzes a numeric matrix and builds another numeric matrix of ones and zeros based on the data. I would like to allow others in my team to run the script on their data but very few of us have MATLAB. Is there any available simple MATLAB script runner allows anyone to run a script? If not, do you have any suggestions on how people can run their own data (and not have everyone send it to me to run...) Thanks in advance
Steve Grossman
Takeda Pharmaceuticals
Cambridge, MA 02139

Answers (2)

Guillaume
Guillaume on 26 Jul 2019
Edited: Guillaume on 26 Jul 2019
Mathworks offer a number of toolboxes that allows you to convert matlab code into something standalone, see Matlab coder and probably, more relevant to you matlab compiler. In particular, you may be interested in web apps
If you want others to be able to run m scripts directly, then the only option is octave with all the downsides pointed out by Rik.

Rik
Rik on 26 Jul 2019
To my knowledge you have only a single option besides Matlab: GNU Octave.
It has a number of major downsides (lack of speed, compatibility, debugging tools, support community etc), but in general most code will run successfully. You will have to confirm your usage complies with the terms of its license agreement, but at least for private noncommercial use it is free.
You could also compile your function so it reads the matrix from a file and writes the result to another file.

Categories

Find more on MATLAB Compiler 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!