MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guide de l'utilisateur Page 161

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 354
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 353 354

Commentaires sur ces manuels

Pas de commentaire