Clear Filters
Clear Filters

Execute .m file online without an installation of matlab?

12 views (last 30 days)
I have hosted one website with Linux shared hosting. So from server I will transfer some data in one module and want to execute that module with .m extension file on Mat lab so how can i do that?

Accepted Answer

Walter Roberson
Walter Roberson on 28 Nov 2017
You will need MATLAB Compiler or MATLAB Compiler SDK, with the Standard (Commercial) license.
If it were not shared hosting then under some circumstances it could be done with an Academic license instead.
If it was your own host then an alternative would be MATLAB Production Server, and another alternative yet would be installing MATLAB and php or perl or python code to talk to MATLAB; you would need the most expensive Networked license for this possibility, if you were giving public access.
Pramod Amrutkar
Pramod Amrutkar on 28 Nov 2017
First of all thank you very much Walter Roberson for good answer. Is there any way to execute .m file on matlab excluding your first answer.
Walter Roberson
Walter Roberson on 28 Nov 2017
No, the license terms prohibit MATLAB itself from being installed on a system that you do not own (or lease), so for shared hosting you would need to have compiled the code using MATLAB Compiler or MATLAB Compiler SDK (or, I suppose, MATLAB Coder).

Sign in to comment.

More Answers (0)


Find more on Introduction to Installation and Licensing 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!