MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 161

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 160
MATLAB Compiler Generated Interface Functions
Forexample,considerthisM-fileinterface:
[a,b,varargout] = myfun(x,y,z ,varargin)
The corresponding C interface for this is
void mlfMyfun(int numOfRetVar s, mxArr ay **a, mxArray **b,
mxArray **varargout, mxArray *x, mxArray *y,
mxArray *z, mxArray *varargin)
In this example, the num ber o f elem ents in varargout is (numOfRetVars -
2)
,where2 represents the two actual variables, a and b, being returned. Both
varargin and varargo ut aresinglerow,multiplecolumncellarrays.
7-31
Seitenansicht 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare