MATLAB XPC TARGET RELEASE NOTES Guía de usuario Pagina 109

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 531
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 530 531

Comentarios a estos manuales

Sin comentarios