MATLAB XPC TARGET RELEASE NOTES User's Guide Page 335

  • Download
  • Add to my manuals
  • Print
  • Page
    / 531
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 530 531

Comments to this Manuals

No comments