MATLAB BUILDER JA 2 Guida Utente Pagina 271

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 270
Programming Interfaces Generated by Java Builder
Typically you use the standard interface when you want to call MATLAB
functions that return a single array. In other cases you probably need to
use the mlx interface.
Standard API
The standard calling interface returns an array of one or more MWArray
objects.
The standard API for a generic function with none, one, more than one, or a
variable number of arguments, is shown in the following table.
Arguments API to Use
Generic
MATLAB
function
function [Out1, Out2, ..., varargout] =
foo(In1, In2, ..., InN, varargin)
API if there
are no input
arguments
public Object[] foo(
int numArgsOut
)
API if there
is one input
argument
public Object[] foo(
int numArgsOut,
Object In1
)
API if there
are two
to
N input
arguments
public Object[] foo(
int numArgsOut,
Object In1,
Object In2,
...
Object
InN
)
API if there
are optional
arguments,
represented
public Object[] foo(
int numArgsOut,
Object in1,
6-15
Vedere la pagina 270
1 2 ... 266 267 268 269 270 271 272 273 274 275 276 ... 291 292

Commenti su questo manuale

Nessun commento