MATLAB XPC TARGET RELEASE NOTES User's Guide Page 415

  • Download
  • Add to my manuals
  • Print
  • Page
    / 531
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 414
readxpcfile
xpcftp=xpctarget.ftp
xpcftp.get('filename')
datafile = readxpcfile('filename') % Convert the data
Use the xpctarget.ftp object to copy the file from the target PC to the
host PC, then read and convert the data separately.
xpcftp=xpctarget.ftp
xpcftp.get('filename')
handle=fopen('filename')
data=fread(handle,'*uint8'); % Data should be read in uint 8 format
fclose(handle);
data=data';
datafile = readxpcfile(data); % Convert the data
See Also xPC Target file object methods get (ftp), fope n,andfread.
18-91
Page view 414
1 2 ... 410 411 412 413 414 415 416 417 418 419 420 ... 530 531

Comments to this Manuals

No comments