MATLAB XPC TARGET RELEASE NOTES Guide de l'utilisateur Page 169

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 531
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 168
Target Environment Command-Line Interface
Changing Target PC Environment Object Defaults
By default, the first target PC environment object is the default one.
Functions such as
getxpcenv and set xpc env operate only on the de fault
target PC environment object.
To make another environment object be the default one, use the target PC
environment collection o bject m ethod
makeDefault.Type
tgs.makeDefault('TargetPC2')
Working with Particular Target P C Object
Environments
To manage the properties of a particular target PC object environment, use the
target PC object collection environment method
Item. This method retrieves
an xPC Target environment object from the
xpctarget.targets class. You
can then assign this object to a variable and manipulate that object. Type
env2=tgs.Item('TargetPC2')
env2
is now the target environment object for TargetPC2.
IfyouwanttoworkwiththedefaulttargetPCobjectenvironment,usethe
DefaultTarget property. For example,
env=tgs.DefaultTarget
With the object variables, you can manage the target PC environment object
properties. For exam ple, to get the object properties, type
env2.get
Name: 'TargetPC2'
HostTargetComm: 'TcpIp'
TargetRAMSizeMB: 'Auto'
MaxModelSize: '1MB'
TargetScope: 'Enabled'
TargetBoot: 'BootFloppy'
EmbeddedOption: 'Enabled'
SecondaryIDE: 'off'
RS232HostPort: 'COM1'
RS232Baudrate: '115200'
7-5
Vue de la page 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 530 531

Commentaires sur ces manuels

Pas de commentaire