MATLAB COMPILER RELEASE NOTES Uživatelská příručka Strana 67

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 264
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 66
Generating Simulink S-Functions
3-9
The result is an S-function described in the follow ing files.
mfilename.c
mfilename.h
mfilename_simulink.c
mfilename.ext
(where ext is the MEX-f ile extension for your
platform, e.g.,
dll for Windows )
Using the -u and -y Options
Using the -S option by itself will generate code suitable for most general
applications. However, if you would like to exert more control over the number
of valid inputs or outputs for your function, you should use the
-u and/or -y
options.Theseoptionsspecificallysetthe number of inputs (u) and the number
of outputs (
y) for your function. If either -u or -y is omitted, the respective
input or output will be dynamically sized.
mcc -S -u 1 -y 2 mfilename
In the above line, the S-function will be generated with an input vector whose
width is 1 and an output vector w hose with is 2 . If you were to connect the
referencing S-function block to signals that do not correspond t o the correct
number of inputs or outputs, Simulink will generate an error when the
simulation starts.
Note The MATLAB C ompiler -S option does not support the passing of
parameters that is normally available with Simulink S-functio ns.
Specifying S-Function Characteristics
Sample Time
Similar to the MATLAB Fcn block, the automatically generated S-function has
an inherited sample time.
Zobrazit stránku 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 263 264

Komentáře k této Příručce

Žádné komentáře

Fujitsu SCANPARTNER 620C manuales

Manuales del propietario y guías del usuario para Escáneres Fujitsu SCANPARTNER 620C.
Ofrecemos 1 manuales en pdf Fujitsu SCANPARTNER 620C para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Escáneres Fujitsu

Modelos Tipo de documento
fi-5015C Manual de usuario   FUJITSU fi-5015C User Manual, 26 paginas
M3093DG Manual de usuario   FUJITSU M3093DG User Manual, 208 paginas
fi-5220C Manual de usuario   FUJITSU fi-5220C User Manual, 28 paginas
SCANSNAP NETWORK SCANNER N1800 Manual de usuario   FUJITSU SCANSNAP NETWORK SCANNER N1800 User Manual, 23 paginas
fi-4750C Manual de usuario   FUJITSU fi-4750C User Manual, 94 paginas
C150-E187-01EN Manual de usuario   FUJITSU C150-E187-01EN User Manual, 94 paginas
Image Scanner fi-6110 Manual de usuario   FUJITSU Image Scanner fi-6110 User Manual, 8 paginas
FI-4120CC2 Manual de usuario   FUJITSU FI-4120CC2 User Manual, 7 paginas
ScanSnap S1300 Manual de usuario   FUJITSU ScanSnap S1300 User Manual, 8 paginas