coder.ExternalDependency.isSupportedContext
Class: coder.ExternalDependency
Namespace: coder
Determine if build context supports external dependency
Syntax
tf = coder.ExternalDependency.isSupportedContext(bldcfg)
Description
returns if you can use the external dependency in the build context, tf
= coder.ExternalDependency.isSupportedContext(bldcfg
)bldcfg
.
If you cannot use the external dependency in the current build context, display an
error message and stop code generation. The error message must describe why you cannot
use the external dependency in this build context. If the method returns false
(0)
, the code generator uses a default error message. The default error
message uses the name returned by the getDescriptiveName
method of the
coder.ExternalDependency
class.
You must implement this method in a subclass of coder.ExternalDependency
.
Input Arguments
Output Arguments
Examples
More About
Extended Capabilities
Version History
Introduced in R2013b
See Also
coder.updateBuildInfo
| coder.BuildConfig
| coder.ceval
| coder.ExternalDependency
Topics
- Develop Interface for External C/C++ Code (MATLAB Coder)
- Build Process Customization (MATLAB Coder)
- Integrate External/Custom Code (MATLAB Coder)