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

  • 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 334
dir
Purpose List contents of current folder on target P C
Syntax MATLAB command line
dir(file_obj)
Arguments
file_obj
Name of the xpctarget.ftp or xpctarget.fs
object.
Description Method of xpctarget.fsbase, xpctarget.ftp,andxpctarget.fs
objects. From the h ost PC, lists the contents of the current folder on
the target PC.
To get the results in an M-by-1 structure, use a syntax like
ans=dir(file_obj). This syntax returns a structure like the following:
ans =
1x5 struct array with fields:
name
date
time
bytes
isdir
where
•
name — Name of an object in the folder, shown as a cell array. The
name, stored in the first element of the cell array, can have up to
eight characters. The three-character file extension is stored in the
second element of the cell array.
•
date — Date of the last save of that object
•
time — Time of the last save of that obje ct
•
bytes — Size in bytes of that object
18-11
Vista de pagina 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 530 531

Comentarios a estos manuales

Sin comentarios