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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 386
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 281
11 Real-Time Workshop Libraries
11-4
Custom Code Library
The Real-Time Workshop also provides a Custom Code library containing
blocks that allow you to place your own code, in C or in Ada, inside the code
generated by the Real-Time Workshop. There are two Custom Code
sublibraries in both the C and Ada Custom Code libraries:
Custom Model Code
Custom Subsystem Code
Both sublibraries contain blocks that target specific files and subsystems
within which you can place your code.
Custom Model Code
The Custom Model Code sublibrary contains 10 blocks that insert custom code
into the generated model files and functions. You can view the blocks either by:
Expanding the Model Code library (under C Custom Code) in the Simulink
Browser
Right clicking your mouse on the Model Code library in the Simulink
browser
The latter method opens this window.
The four blocks on the top row contain texts fields to insert custom code at the
top and bottom of the following files:
Vedere la pagina 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 385 386

Commenti su questo manuale

Nessun commento