MATLAB XPC TARGET RELEASE NOTES Podręcznik Użytkownika Strona 410

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 409
makeDefault (env collection o bjec t)
Purpose SetspecifictargetPCenvironment object as default
Syntax MATLAB command line
env_collection_object.makeDefault(`env_object_name')
Description Method of xpctar get.targets objects. makeDef ault sets the specified
target PC environment object as the default target PC from the
xpctarget.targets class.
Examples SetthespecifiedtargetcollectionobjectasthedefaulttargetPC
collection. Assum e that
tgs repres ents the target object collec tion
environment.
tgs=xpctarget.targets;
get(tgs)
CCompiler: 'VisualC'
CompilerPath: 'd:\applications\Microsoft Visual Studi o'
DefaultTarget: [1x1 xpctarget.env]
NumTargets: 2
tgs.getTargetNames
ans =
'TargetPC1'
'TargetPC2'
tgs.makeDefault('TargetPC2')
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-86
Przeglądanie stron 409
1 2 ... 405 406 407 408 409 410 411 412 413 414 415 ... 530 531

Komentarze do niniejszej Instrukcji

Brak uwag