MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Podręcznik Użytkownika Strona 304

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 303
size_t ElementSize() const
Purpose Return size in bytes of an element of array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
int size = a.ElementSize();// Should return sizeof(d oubl e)
Arguments None
Return
Value
The size in bytes of an elem ent of this ty pe of a rray.
Description Use this method to determine the size in byt es of an e lement of array
type.
Note If you do not define MX_CO MPAT_32_OFF, this method is d efined
as
size-t ElementSize() const.
C-50
Przeglądanie stron 303
1 2 ... 299 300 301 302 303 304 305 306 307 308 309 ... 353 354

Komentarze do niniejszej Instrukcji

Brak uwag