Main Content

isMatlabHostTarget

Class: coder.BuildConfig
Namespace: coder

Determine if hardware implementation object target is MATLAB host computer

Syntax

tf = isMatlabHostTarget(bldcfg)

Description

tf = isMatlabHostTarget(bldcfg) returns if the current hardware implementation targets the MATLAB® host computer.

Input Arguments

expand all

Build context during code generation, specified as a coder.BuildConfig object. Use coder.BuildConfig methods to get information about the build context.

Output Arguments

expand all

Whether the current hardware implementation object targets the MATLAB host computer, returned as either true(1) or false(0).

Data Types: logical

Version History

Introduced in R2013b