Difference between revisions of "MCR libraries"

From Dynamo
Jump to navigation Jump to search
Line 12: Line 12:
  
 
In runtime, the shell must be informed through <tt>LD_LIBRARY_PATH</tt> of the location of the libraries.
 
In runtime, the shell must be informed through <tt>LD_LIBRARY_PATH</tt> of the location of the libraries.
 +
 +
Do not mix this environment variable with [[MCR_CACHE_ROOT|<tt>MCR_CACHE_ROOT</tt>]], which is used to select a location on the filesystem where the MCR libraries will store temporary information.

Revision as of 10:22, 2 May 2016

The MCR (Matlab Compiled Runtime) libraries are a set libraries freely distributed by Mathworks.

They allow running code written in Matlab without having a Matlab license in your system.

In Dynamo

The MCR libraries are used when running the standalone version, both for running projects or for the interactive [[Dynamo console|console]. The libraries are already included in the version available for download and in general you shouldn't need to reinstall them.

Also, when you activate Dynamo on a linux shell, the library paths will be set to point to the MCR libraries shipped within your Dynamo installation.

General use of the MCR

In general applications of the MCR libraries, the code needs to have been compiled by the authors, who should have delivered a precompiled executable to the end users. End users need to have a version of the MCR libraries that matches the version used by the author to compile the original Matlab code.

In runtime, the shell must be informed through LD_LIBRARY_PATH of the location of the libraries.

Do not mix this environment variable with MCR_CACHE_ROOT, which is used to select a location on the filesystem where the MCR libraries will store temporary information.