ctfroot - Root directory of application in deployed mode

Syntax

ctfroot

Description

root = ctfroot returns a string that is the name of the directory where the CTF file for the deployed application is expanded.

To determine the location of various toolbox directories in deployed mode, use the toolboxdir function.

Example

appRoot = ctfroot; will return the root of your applications in this form: application_name_mcr.

Use this function to access any file that the user would have included in their project (excluding the ones in the packaging directory).

  


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