Interfacing Microcontroller with MATLAB through serial port

hai kevin

u can use the serial port in 8051 to send data serialy. In matlab there is a command to receive your data serialy. The command is

ser= serial('COM1','BaudRate',9600,'DataBits',8);
fopen(ser)
% while(1)
for i=1:1000
fwrite(ser,4);% asci C
end
fclose(ser);

try this and see.

Thank you... Read Compelte post
Posted by swat on Thu Jan 24 2008, 09:06 pm

Downloads

Comments

Tizanidinnem
Mon Feb 26 2024, 08:00 pm
edufawuloy
Mon Feb 26 2024, 06:58 pm
Robytv
Mon Feb 26 2024, 03:25 am
RobertTog
Sun Feb 25 2024, 04:14 pm
Myronped
Sun Feb 25 2024, 10:21 am
Matthewdyeta
Sun Feb 25 2024, 04:59 am
Victorral
Sat Feb 24 2024, 05:15 pm
settift
Sat Feb 24 2024, 01:56 pm