Matlab compiler runtime
| Description | ||
![]() |
Matlab Compiler Runtime for running applications built with the Matlab compiler. |
|
| Site | Version (Latest: v1.2) | Notes |
| Not currently available. Please check licensing rules | ||
| Matlab compiled code picks up some information - such as expected library versions - on the system used to build it. The system running the code must have the dependent libraries available. | ||
License
The Matlab Compiler Runtime is made available by Mathworks for users with a valid license to produce executable versions of Matlab applications that can run independently.
The licensing conditions are complicated and differ for site and floating licenses. It is the users responsibility to determine whether these conditions have been met.
Users of this application should credit the code authors and the NGS accordingly and where applicable the specific site where the code is installed, when publishing work using NGS resources.
Running the Application on the NGS (General)
The NGS provides a script /usr/ngs/MATLAB-COMPILER-RUNTIME_version_arch that will create a suitable environment for the Matlab application. This can be used in place of the run_* script that is generated by the Matlab compiler
- Submission Using the UI/WMS
To submit a matlab MCR job via the WMS, login to the UI and create a JDL file as below, replacing your ngs ID on the UI for ngsxxxx, then submit using:
glite-wms-job-submit -o jobIDs -a mcr.jdl
Type = "Job"; JobType = "normal"; Executable = "/usr/ngs/MATLAB-COMPILER-RUNTIME_R2008a_glnx86"; Arguments = "mcr-app args"; StdOutput = "std.out"; StdError = "std.err"; Myproxyserver= "myproxy.ngs.ac.uk"; InputSandbox = {"mcr-app"}; InputSandboxBaseURI = "gsiftp://ngsui03.ngs.ac.uk:2811/home/ngsxxxx/mcr"; OutputSandbox = {"std.err","output","std.out"}; OutputSandboxBaseDestURI = "gsiftp://ngsui03.ngs.ac.uk:2811/home/ngsxxxx/mcr"; Requirements = ( member("NGS-UEE-MATLAB-COMPILER_RUNTIME_R2008a_glnx86", other.GlueHostApplicationSoftwareRunTimeEnvironment) # ); ShallowRetryCount = -1;This example will run an executable built under a 32-bit version of Matlab R2008a under Linux
If you require a different version of the environment, please contact support@grid-support.ac.uk
Dependencies
Executables built with the Matlab Compiler will include references to libraries from the system on which they were originally built.
This means that an executable built on, for example, a Redhat 5 based Linux system will not necessarily run on a Redhat 4 one.
Further Information
Information about the Matlab Compiler Runtime can be found on the Mathworks web site.
The image on this web page is not the Matlab logo. It is a plot of a function that looks remarkably like the Matlab logo but which is in the public domain.
Applications Support
The NGS cannot offer scientific support for applications. However if you require further information or believe there is something wrong with the installation, please contact the NGS support centre.
Acknowledgements
Please note: When publishing work based on use of the NGS, users should acknowledge both the authors of any programs used (see the individual program web sites, or contact the authors directly) and the NGS directly using the following line:
"The authors would like to acknowledge the use of the UK National Grid Service in carrying out this work"
This line must also accompany any use of the NGS logos.


