Makefile a matlab .m file
2 views (last 30 days)
Show older comments
I have more than 10 MATLAB files. There is call to each file from a master file. I want to run this program on a high performance computing cluster. This cluster have gcc and openMPI compiler available. Should I have to create a makefile? Please tell How from scratch? I am new to this topic.
or Should I have to convert my .m files to c/c++? there are more than 1000 lines of codes.
2 Comments
Pieter Hamming
on 17 Aug 2018
Does the computing cluster have a MATLAB instance? If so, you can give a .m file (or a set of them).
Answers (1)
Ryan Livingston
on 17 Aug 2018
One option is to deploy your code using either MATLAB Compiler or MATLAB Coder. There's an overview of those two processes here:
Both of those approaches allow the execution of MATLAB code without MATLAB being installed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!