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

  • 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 346
fread
length(A) might be less than the number of bytes requested if that
number of bytes are not currently available. It is zero if the operation
reaches the end of the file.
Examples Open the file dat a.dat in the target PC file system object fsys. Assign
the resulting file handle to a variable for reading.
h = fopen(fsys,'data.dat') or fsys.fopen('data.dat')
ans =
2883584
d = fread(h);
This reads the file data.dat and stores all of the contents of the file to
d. This content is in the xPC Target file format.
See Also xPC Target file object methods fclose, fopen,andfwrite.
MATLAB
fread function.
18-23
Vue de la page 346
1 2 ... 342 343 344 345 346 347 348 349 350 351 352 ... 530 531

Commentaires sur ces manuels

Pas de commentaire