MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE User's Guide Page 294

  • Download
  • Add to my manuals
  • Print
  • Page
    / 354
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 353 354

Comments to this Manuals

No comments