User`s guide
Add (env c olle ction object)
Purpose Add new xPC Target environment collection object
Syntax MATLAB command line
env_collection_object.Add
Description Method of xpctarget.targets objects. Add creates an xPC Target
environment collection object on the host PC.
Examples Add a new xPC Target environment collection object to the sys tem.
Assume that
tgs represents the environment collection object.
tgs=xpctarget.targets;
get(tgs)
CCompiler: 'VisualC'
CompilerPath: 'd:\applications\Microsoft Visual Studi o'
DefaultTarget: [1x1 xpctarget.env]
NumTargets: 1
tgs.Add
ans =
xpctarget.env
get(tgs)
CCompiler: 'VisualC'
CompilerPath: 'c:\Microsoft Visual Studio'
DefaultTarget: [1x1 xpctarget.env]
NumTargets: 2
See Also xPC Target methods for the xPC Target e nvironment object method
xpctarget.targets, set (env collec tion object), get (env
collection object)
18-2