findBuildArg

Find a specific build argument in model build information

Description

example

[identifier,value] = findBuildArg(buildinfo,buildArgName) searches for a build argument from the build information.

If the build argument is present in the model build information, the function returns the name and value.

Examples

collapse all

Find a build argument and its value stored in build information myModelBuildInfo. Then, view the argument identifier and value.

load buildInfo.mat
myModelBuildInfo = buildInfo;
myBuildArgExtmodeStaticAlloc = 'EXTMODE_STATIC_ALLOC';
[buildArgId buildArgValue] = findBuildArg(buildInfo, ...
   myBuildArgExtmodeStaticAlloc);
>> buildArgId

buildArgId =

    'EXTMODE_STATIC_ALLOC'

>> buildArgValue

buildArgValue =

    '0'

Input Arguments

collapse all

To get the build argument identifiers from the build information, use the getBuildArgs function.

Output Arguments

collapse all

Introduced in R2014a