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

  • 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 343
fopen
Purpose Open target PC file fo r reading
Syntax MATLAB command line
file_ID = fopen(file_obj,'f ile_name')
file_ID
= file_obj.fop en('file_name')
file_ID = fopen(file_obj
,'file_name',permission)
file_ID
= file_obj.f open('file_name',permission)
Arguments
file_obj
Name of the xpctarget.fs object.
'file_name'
NameofthetargetPCtoopen.
permission
Values are 'r', 'w', 'a', 'r+', 'w+',or'a+'.
This argument is option al with
'r' as the
default value.
Description Method of xpctarget.fs objects. From the host PC, opens the specifie d
filename on the target PC for binary access.
The permission argument values are
'r'
Open the file for reading (default). The method does nothing if the
file does not a lready exist.
'w'
Open the file for writing. The method creates the file if i t does not
already exist.
'a'
Open the file for appending to the file. Initially, the file pointer is at
the end of the file. The method creates the file if it does not already
exist.
'r+'
18-20
Vue de la page 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 530 531

Commentaires sur ces manuels

Pas de commentaire