Add (env collection object) - 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
system. Assume that tgs represents the environment
collection object.
tgs=xpctarget.targets;
get(tgs)
CCompiler: 'VisualC'
CompilerPath: 'd:\applications\Microsoft Visual Studio'
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: 2See Also
xPC Target methods for the xPC Target environment object
method xpctarget.targets, set (env collection object), get (env collection object)
 | Functions | | addscope |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit