MATLAB XPC TARGET 4 - IO Podręcznik Użytkownika Strona 169

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 182
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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])
Przeglądanie stron 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 181 182

Komentarze do niniejszej Instrukcji

Brak uwag