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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 292
mwArray(mwSize num_strings, const char** str)
Purpose Construct character matrix from list of strings
C++
Syntax
#include "mclcppclass. h"
const char* str[] = {"String1", "String2", "String3" };
mwArray a(3, str);
Arguments num_strings
Number of strings in the input array
str
Array of N UL L-terminated strings
Return
Value
None
Description Use this constructor to create a matrix of type mxCHAR_CLASS,and
initialize the array’s data with the characters in the supplied strings.
The created array has dimensions
m-by-max ,wheremax is the length of
the longest string in
str.
C-39
Przeglądanie stron 292
1 2 ... 288 289 290 291 292 293 294 295 296 297 298 ... 353 354

Komentarze do niniejszej Instrukcji

Brak uwag