Info
This question is closed. Reopen it to edit or answer.
Can I know the method of feeding Matlab code output to a hardware circuit through RS232?
1 view (last 30 days)
Show older comments
Can I know the method of feeding Matlab code output to a hardware circuit through RS232?
0 Comments
Answers (1)
Walter Roberson
on 28 Jan 2017
use serial() to indicate the properties of the port you want to communicate with. Use fopen() to activate the port. Use fprintf or fwrite to the port to send data. To receive data use fgetl or fgets or fscanf or fread
6 Comments
Walter Roberson
on 4 Mar 2017
Designing reliable communications yourself just isn't worth the effort. I recommend you set up PPP or Kermit between the hosts. See https://mikebeach.org/2012/08/30/installing-and-configuring-a-ppp-null-modem-connection-on-windows-7/
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!