MATLAB XPC TARGET 4 - IO Guide de l'utilisateur Page 149

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 182
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 148
load
6-29
6load
Purpose Download a target application to the target PC
Syntax MATLAB command line
load(target_object,’target_application’)
target_object.load(’target_application’)
Arguments
Description Method of a target object. Before using this function, the target PC must be
booted with the xPC Target kernel, and the target application must be built in
the current working directory on the host PC.
If an application was previously loaded, the old target application is first
unloaded before downloading the new target application. The method
load is
called automatically after the RTW build process.
Examples Load the target application xpcosc represented by the target object tg.
load(tg,’xpcosc’) or tg.load(’xpcosc’)
+tg or tg.start or start(tg)
See Also The xPC Target function unload. The xPC target M-file demo scripts listed in
“xPC Target Demos” on page 5-21.
target_object Name of an existing target object
target_application Simulink model and target application name.
Vue de la page 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 181 182

Commentaires sur ces manuels

Pas de commentaire