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

  • 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 125
3 Signals and Parameters
Loading Saved Parameters to a Target Ap plication
To load a set of saved parameters to a target application, use the
loadparamset method. You must load parameters to the same model from
which you save the parameter file. If you load a parameter file to a different
model, the behavior is undefined.
This section assumes that you have a parameters file saved from an earlier
run of
saveparamset (see “Saving the Current Set of Target Application
Parameters” on page 3-77).
1 From the co llection of parameter value files on the target PC, select the one
that contains the parameter values you want to load.
2 In the MATLAB window, type either
tg.loadparamset('xpc_osc4_param1')
or
loadparamset(tg,'xpc_osc4_param1')
The xPC Target software loads the parameter values into the target
application.
For a description of how to list the parame ters and v alues stored in the
parameter file, see “Lis ting the Values of the Parameters Stored in a File”
on page 3-78.
Listing the Values of the Parameters Stored in a File
To list the par ameters and their values, load the file for a tar get a pplication,
then turn on the
ShowParameters target object property.
This section assumes that you have a parameters file saved from an earlier
run of
saveparamset (see “Saving the Current Set of Target Application
Parameters” on page 3-77).
1 Ensure that the target application is stopped. For example, type
tg.stop
3-78
Vista de pagina 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 530 531

Comentarios a estos manuales

Sin comentarios