MATLAB XPC TARGET RELEASE NOTES Betriebsanweisung Seite 109

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 531
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 108
Signal Logging
assumes you have created and downloaded the target application for that
model. It also assumes that you have assigned
tg to the appropriate target PC.
1 In the MATLAB window, type
tg=xpc
2 Type
+tg
or
tg.start
or
start(tg)
The target application starts and runs until it reaches the final time set in
the target object property
tg.StopTime.
The outputs are the signals connected to Simulink Outport blocks. The
model
xpcosc.mdl has just one Outport b lock, labeled 1, and there are two
states. This Outport block shows the signals lea ving the bl ocks lab eled
Integrator1 and Signal Generator.
3 Plot the signals from the Outport block and the states. In the MATLAB
window, type
plot(tg.TimeLog,tg.Outputlog)
Values for the logs are uploaded to the host PC from the target application
on the target PC. If you want to upload part of the logs, see the target
object method
getlog.
3-61
Seitenansicht 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 530 531

Kommentare zu diesen Handbüchern

Keine Kommentare