MATLAB XPC TARGET 4 - IO Guide de l'utilisateur Page 169

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 182
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 168
Using Scope Objects
7-11
Using the Method Syntax with Scope Objects
Use the method syntax to run a scope object method. The syntax
method_name(scope_object_vector, argument_list) can be replaced with:
scope_object.method_name(argument_list)
scope_object_vector(index_vector).method_name(list of arguments)
Unlike properties, for which partial but unambiguous names are permitted,
method names must be entered in full, and in lowercase. For example, to add
signals to the first scope in a vector of all scopes:
1 In the MATLAB window, type
allscopes(1).addsignal([0,1])
2 Alternately, you could type
addsignal(allscopes(1), [0,1])
Vue de la page 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 181 182

Commentaires sur ces manuels

Pas de commentaire