MATLAB XPC TARGET 4 - DEVICE DRIVERS Spécifications Page 54

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 653
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 53
2 RS232 I/O Support
2-24
7 Connect the input and output ports on the RS-232 driver blocks to other
blocks in your Simulink model.
Your model should look similar to the figure shown below.
8 Set the pre-load function for your Simulink model to load the message
structures when you open the model. For example, if you saved the message
structures in the M-file
RS232async_messages, type
set_pram(gcs, ’PreLoadFcn’,’RS232async_messages’)
Note If you do not manually load the message structures before opening
your Simulink model, or have the message structures automatically loaded
with the model, the port connections to the RS-232 blocks breaks.
Your next task is to build and run the target application.
Vue de la page 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 652 653

Commentaires sur ces manuels

Pas de commentaire