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

  • 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 326
addscope
Purpose Create scopes
Syntax MATLAB command line
Create a scope and scope object w ithout assigning to a M ATLAB
variable.
addscope(target_object, scope_type, scope_number)
target_object.addscope(scope_type, scope_number)
Create a scope, scope object, and assign to a MATLAB variable
scope_object = addscope(target_object, scope_type, scope_number)
scope_object = target_object.addscope(scope_type, scope_number)
Target PC command line When you are using this command on
the target PC, you can only add a scope of type
target.
addscope
addscope scope_number
Arguments
target_object
Name of a target object. The default targe t name
is
tg.
scope_type
Values are 'host', 'target', or 'file'.This
argument is optional with
host as the default value
.
scope_number
Vector of new scope indices. This argument is
optional. The next available integer in the targe
t
object property
Scopes as the default value.
If y ou enter a scope index for an e xisting scope o
bject,
the result is an error.
Description addscope creates a scope of the specified type and updates the target
object property
Scopes. This m ethod returns a scope object vector. If
the r e sult is not assigned to a variable, the scope object properties
are listed in the MATLAB window. The x PC Target product supports
18-3
Vue de la page 326
1 2 ... 322 323 324 325 326 327 328 329 330 331 332 ... 530 531

Commentaires sur ces manuels

Pas de commentaire