MATLAB SIMULINK 3D ANIMATION - S Podręcznik Użytkownika Strona 424

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 490
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 423
10 Functions — Alphabetical List
10-84
vrnode/getfield
Field value of vrnode object
Syntax
getfield(vrnode_object)
x = getfield(vrnode_object)
x = getfield(vrnode_object,'fieldname')
Arguments
vrnode_object Name of a vrnode object representing the node to be queried.
fieldname Name of the vrnode object field whose values you want to query.
Description
getfield(vrnode_object) displays all the field names and their current values for
the respective VRML node.
x = getfield(vrnode_object), where vrnode_object is a scalar, returns a
structure where each field name is the name of a vrnode field and each field contains the
value of that field.
x = getfield(vrnode_object,'fieldname') returns the value of the specified field
for the node referenced by the vrnode_object handle. If vrnode_object is a vector of
vrnode handles, getfield returns an M-by-1 cell array of values, where M is equal to
length(vrnode_object).
If 'fieldname' is a 1-by-N or N-by-1 cell array of strings containing field names,
getfield returns an M-by-N cell array of values.
Note The dot notation is the preferred method for accessing nodes.
Przeglądanie stron 423
1 2 ... 419 420 421 422 423 424 425 426 427 428 429 ... 489 490

Komentarze do niniejszej Instrukcji

Brak uwag