MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual do Utilizador Página 231

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 408
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 230
Handling Data Returned from a Java Method
5-61
% Convert each to cell arrays
cellArray = {cell(dblArray), cell(ptArray), cell(strArray)}
cellArray =
{1x10 cell} {3x1 cell} {2x2 cell}
cellArray{1,1} % Array of type double
ans =
[7] [14] [21] [28] [35] [42] [49] [56] [63] [70]
cellArray{1,2} % Array of type Java.awt.Point
ans =
[1x1 java.awt.Point]
[1x1 java.awt.Point]
[1x1 java.awt.Point]
cellArray{1,3} % Array of type char array
ans =
'one' 'two'
'three' 'four'
Vista de página 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 407 408

Comentários a estes Manuais

Sem comentários