User`s guide

Item (env collection object)
Purpose Retrieve specific x P C Target environment (env) o bj ect
Syntax MATLAB command line
env_collection_object.Item('env_object_name')
Description Method of xpctarget.targets objects. Item retrieves a specific xPC
Target environment o bject from the
xpctarget.targets class. Use this
method to work w ith a particular target PC environment object.
Examples Retrieve a new x P C Target environment collection object from the
system. Assume that
tgs represents the target object collection
environment.
tgs=xpctarget.targets;
get(tgs)
CCompiler: 'VisualC'
CompilerPath: 'd:\applications\Microsoft Visual Studi o'
DefaultTarget: [1x1 xpctarget.env]
NumTargets: 1
tgs.getTargetNames
ans =
'TargetPC1'
'TargetPC2'
tgs.Item('TargetPC1')
ans =
xpctarget.env
See Also xPC Target methods for the xPC Target environment collection object
method
xpctarget.targets, set (env co lle ction object), get
(env collection object)
18-82