Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Builder NE   

Overriding Default CTF Archive Embedding for Components Using the MCR Component Cache

As of R2008b, CTF data is automatically embedded directly in .NET and COM components by default. In order to extract the CTF archive manually, you must build the component using the mcc -C option.

If you do not use the mcc -C option to generate a separate CTF file, you can add environment variables to specify various options, such as:

Use the following environment variables to change these settings.

Environment VariablePurposeNotes
MCR_CACHE_ROOTWhen set to the location of where you want the CTF archive to be extracted, this variable overrides the default per-user component cache location.Not applicable
MCR_CACHE_VERBOSEWhen set, this variable prints details about the component cache for diagnostic reasons. This can be very helpful if problems are encountered during CTF archive extraction.Not applicable
MCR_CACHE_SIZEWhen set, this variable overrides the default component cache size.The initial limit for this variable is 32M (megabytes). This may, however, be changed after you have set the variable the first time. Edit the file .max_size, which resides in the file designated by running the mcrcachedir command, with the desired cache size limit.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS