MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guida Utente Pagina 344

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 575
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 574 575

Commenti su questo manuale

Nessun commento