MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guide de l'utilisateur Page 344

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 575
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 343
readmat
open(rx,'ochannel','r');
enable(rx,'ochannel');
indata = 1:25; % Set up some data.
write(cc,0,indata,30);
outdata=read(cc,0,'double',25,10)
outdata =
Columns 1 through 13
12345678910111213
Columns 14 through 25
14 15 16 17 18 19 20 21 22 23 24 25
Now use RTDX to read the data into a 5-by-5 array called out_array.
out_array = readmat('ochannel','double',[5 5])
See Also readmsg, writemsg
7-122
Vue de la page 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 574 575

Commentaires sur ces manuels

Pas de commentaire