


Therefore, in order to run a MATLAB script in a batch job on Pleiades, you must first compile the script. Compiled executables do not access the license server. Note: It is not necessary to compile your MATLAB scripts for batch jobs running on the LDANs or Endeavour-on these systems, there is less risk of overwhelming the MATLAB license server because fewer hosts query the server. Also, you can still run interactive MATLAB jobs on Pleiades without compiling the scripts (it is easier to debug the scripts if they are not compiled into executables). The steps are described using the following sample script, findR.m: function R = findRĬomplete these steps to compile the sample script: This method is the simplest way to compile a MATLAB script into a standalone executable.

MATLAB Compiler encrypts your MATLAB code files, so your source code remains hidden from users of your applications.
