Difference between revisions of "MCR libraries"

From Dynamo
Jump to navigation Jump to search
Line 4: Line 4:
  
 
== In Dynamo ==
 
== 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 Dynamo|download]] and in general you shouldn't need to reinstall them.  
+
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 Dynamo|download]] and in general you shouldn't need to reinstall them.  
  
 
Also, when you  [[Installation#Activating ''Dynamo'' as standalone program|''activate'']] ''Dynamo'' on a linux shell, the library paths will be set to point to the MCR libraries shipped within your ''Dynamo'' installation.
 
Also, when you  [[Installation#Activating ''Dynamo'' as standalone program|''activate'']] ''Dynamo'' on a linux shell, the library paths will be set to point to the MCR libraries shipped within your ''Dynamo'' installation.

Revision as of 16:37, 1 June 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 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.