MATLAB XPC TARGET RELEASE NOTES Uživatelská příručka Strana 335

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 531
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 530 531

Komentáře k této Příručce

Žádné komentáře