makeDefault (env collection object) - Set specific target PC environment object as default
Syntax
MATLAB command line
env_collection_object.makeDefault(`env_object_name')
Description
Method of xpctarget.targets objects. makeDefault sets
the specified target PC environment object as the default target PC
from the xpctarget.targets class.
Examples
Set the specified target collection object as the default target
PC collection. Assume that tgs represents the target
object collection environment.
tgs=xpctarget.targets;
get(tgs)
CCompiler: 'VisualC'
CompilerPath: 'd:\applications\Microsoft Visual Studio'
DefaultTarget: [1x1 xpctarget.env]
NumTargets: 2
tgs.getTargetNames
ans =
'TargetPC1'
'TargetPC2'
tgs.makeDefault('TargetPC2')
ans =
xpctarget.envSee Also
xPC Target methods for the xPC Target environment collection
object method xpctarget.targets, set (env collection object), get (env collection object)
 | macaddr | | mkdir |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit