getFullFileList

All files from model's build information

Syntax

[fPathNames, names] = getFullFileList(buildinfo, fcase)

fcase is optional.

Arguments

buildinfo

Build information returned by RTW.BuildInfo.

fcase (optional)

The string 'source', 'include', or 'nonbuild'. If the argument is omitted, the function returns all files from the model's build information.

If You Specify...The Function...
'source'Returns source files from the model's build information.
'include'Returns include files from the model's build information.
'nonbuild'Returns nonbuild files from the model's build information.

Returns

Fully-qualified file paths and file names for files stored in the model's build information.

Description

The getFullFileList function returns the fully-qualified paths and names of all files, or files of a selected type (source, include, or nonbuild), stored in the model's build information.

The packNGo function calls getFullFileList to return a list of all files in the model's build information before processing files for packaging.

Examples

List all the files stored in build information myModelBuildInfo.

myModelBuildInfo = RTW.BuildInfo;
[fPathNames, names] = getFullFileList(myModelBuildInfo);
  


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