MATLAB XPC TARGET RELEASE NOTES Guide de l'utilisateur Page 335

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 531
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 530 531

Commentaires sur ces manuels

Pas de commentaire