MATLAB XPC TARGET 4 - API GUIDE Uživatelská příručka Strana 154

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 372
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 153
7 Working with Target PC Files and File Systems
7-16
Use the method syntax to run an xpctarget.fs object method. The syntax
method_name(fs_object, argument_list) can be replaced with
fs_object.method_name(argument_list)
For example, to display the disk information for the C:\ drive,
1 If you have not already done so, in the MATLAB window, type the following
to assign the
xpctarget.fs object to a variable.
fsys=xpctarget.fs;
2 Type
fsys.diskinfo('C:\');
This returns disk information like the following for the C:\ drive file system.
ans =
Label: 'SYSTEM '
DriveLetter: 'C'
Reserved: ''
SerialNumber: 1.0294e+009
FirstPhysicalSector: 63
FATType: 32
FATCount: 2
MaxDirEntries: 0
BytesPerSector: 512
SectorsPerCluster: 4
TotalClusters: 2040293
BadClusters: 0
FreeClusters: 1007937
Files: 19968
FileChains: 22480
FreeChains: 1300
LargestFreeChain: 64349
Zobrazit stránku 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 371 372

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

Žádné komentáře