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

  • 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 19
1 Target and Scop e Objects
sample time is 0.005, the scope will acquire five identical samples for this
signal,andthenthenextfiveidenticalsamples,andsoon.
Understanding the structure of scope objects will help you to use the MATLAB
command-line interface to view and collect signal data.
Refer to Chapter 1, “Target and Scope Objects” for a description of h ow to use
these objects, properties, and methods.
A scope object on the host PC represents a scope on the target PC. You use
scope objects to observe t he signals from your target application d uring a
real-time run or analyze the data after the run is finished.
Tocreateascopeobject,
Add an xPC Target scope block to your Simulink model, build the model to
create a scope, and then use the target object method
getscope to create a
scope object.
Use the target object method
addscope to create a scope, create a scope
object, and assign the scope properties to the scope object.
A scope object has associated properties and methods specific to that object.
To read about scope object types, see “Scope Object Types” on page 1-4.
ScopeObjectTypes
You can create scopes of type target, host,orfile. Upon creation, The
xPC Target software assigns the appropriate scope object data type for the
scope type:
xpctarget.xpcsctg for scopes o f type target
xpctarge t.xpcschost fo r scopes of typ e host
xpctarge t.xpcfs for scopes of type fil e
xpctarge t.xpcsc encompasses the object properties common to all the
scope object data t ypes . T he xPC Target software creates this object if you
create multiple scopes of different types for one model and combine those
scopes, for ex ample, into a scope vector.
1-4
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 530 531

Comentarios a estos manuales

Sin comentarios