MATLAB BUILDER EX 1 Guide de l'utilisateur Page 165

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 182
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 164
Utility Library Classes
D-21
On Error Goto Handle_Error
'
' Call a method that returns an MWStruct in x
'
Dims = x.Dims
FieldNames = x.FieldNames
For I From 1 To Dims(1)
For J From 1 To Dims(2)
For K From 1 To x.NumberOfFields
y = x(I,J,FieldNames(K))
' Do something with y
Next
Next
Next
Exit Sub
Handle_Error:
MsgBox(Err.Description)
End Sub
Sub Clone(ppStruct As MWStruct)
Creates a copy of an MWStruct object.
Parameters.
Return Value.
None
Remarks. Clone allocates a new MWStruct object and creates a deep copy of the
objects contents. Call this function when a separate object is required instead
of a shared copy of an existing object reference.
Argument Type Description
ppStruct MWStruct
Reference to an uninitialized
MWStruct object to receive the
copy.
Vue de la page 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 181 182

Commentaires sur ces manuels

Pas de commentaire