MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 294

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 293
mwArray(mwSize num_rows, mwSize num_cols, int
num_fields, const char** fieldnames)
Purpose Construct 2-D MATLAB structure matrix of specified dimensions and
field names
C++
Syntax
#include "mclcppclass. h"
const char* fields[] = {"a", "b", "c"};
mwArray a(2, 2, 3, fields);
Arguments num_rows
Number of rows in the str uct matrix.
num_cols
Number of columns in the struct matrix.
num_fields
Number of fields in the struct matrix.
fieldnames
Array of NULL-terminated strings representing the field names.
Return
Value
None
Description Use this constructor to create a m atrix of type mxSTRUCT_CLASS,with
the specified field n ames. All elements are initialized with empty cells.
C-40
Seitenansicht 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare