MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guida Utente Pagina 48

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 386
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 47
1 Introduction to the Real-Time Workshop
1-20
assigning buffers to each input and output. Compare this to the MdlOutputs
function generated with buffer optimizations turned off.
void MdlOutputs(int_T tid)
{
/* Sin Block: <Root>/Sine Wave */
rtB.sin_out = rtP.Sine_Wave_Amp *
sin(rtP.Sine_Wave_Freq * ssGetT(rtS) + rtP.Sine_Wave_Phase);
/* Gain Block: <Root>/Gain */
rtB.gain_out = rtB.sin_out * rtP.Gain_Gain;
/* Outport Block: <Root>/Out1 */
rtY.Out1 = rtB.gain_out;
}
Note that the labels sin_out and gain_out that were placed in the model
depicted in Figure 1-4 appear in the code of
MdlOutputs when no optimizations
take place. For further information on the contents of
model.c files, refer to
Chapter 3, “Code Generation and the Build Process.”
Bundled Target Systems
The Real-Time Workshop provides sample implementations that illustrate the
development of real-time programs under DOS and Tornado, as well as generic
real-time programs under Windows95, Windows 98, Windows NT, and UNIX.
These sample implementations are located in
matlabroot/rtw/c/grt Generic real-time examples
matlabroot/rtw/c/dos — DOS examples
matlabroot/rtw/c/tornado — Tornado examples
In addition to bundled systems provided by The MathWorks, third party
vendors such as dSPACE provide real-time targets for a wide variety of rapid
prototyping environments. For an example of a dSPACE implementation, see
“Building a Real-Time Executable with dSPACE’s RTI” on page 2–30.
Vedere la pagina 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 385 386

Commenti su questo manuale

Nessun commento

KitchenAid KUIS15NRHT5 manuály

Uživatelské manuály a uživatelské příručky pro Mrazničky KitchenAid KUIS15NRHT5.
Poskytujeme 1 manuály pdf KitchenAid KUIS15NRHT5 ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro Mrazničky KitchenAid

Modely Typ Dokumentu
KUIS15NRHW8 Uživatelský manuál   KITCHENAID KUIS15NRHW8 User Manual, 9 stránky
KUIS15PRHB5 Uživatelský manuál   KITCHENAID KUIS15PRHB5 User Manual, 8 stránky
KUIC15PRTS1 Uživatelský manuál   KITCHENAID KUIC15PRTS1 User Manual, 9 stránky
KUIS185FWH1 Uživatelský manuál   KITCHENAID KUIS185FWH1 User Manual, 8 stránky