MATLAB XPC TARGET 4 - IO Guida Utente Pagina 169

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 182
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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])
Vedere la pagina 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 181 182

Commenti su questo manuale

Nessun commento