Main Content

getFileExtensionSet

Class: target.BuildTool
Namespace: target

Search for file type

Since R2023a

Syntax

fileExtensionsObject = myBuildTool.getFileExtensionSet(fileTypeName)

Description

fileExtensionsObject = myBuildTool.getFileExtensionSet(fileTypeName) searches for the named file type in the FileExtensions property of the target.BuildTool object and returns a target.FileExtensionSet object.

Input Arguments

expand all

Name of file type.

Example: fileExtsObj = cCompiler.getFileExtensionSet('Object');

Output Arguments

expand all

target.FileExtensionSet object that contains the named file type.

Version History

Introduced in R2023a