MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guide de l'utilisateur Page 282

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 386
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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:
Vue de la page 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 385 386

Commentaires sur ces manuels

Pas de commentaire