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

lnCar
Thu Dec 08 2022, 12:03 am
JordanPruff
Wed Dec 07 2022, 06:13 pm
Tomnuabs
Wed Dec 07 2022, 07:51 am
Charleshek
Tue Dec 06 2022, 09:28 pm
TicePex
Sun Dec 04 2022, 02:02 pm
QuaderiPex
Sat Dec 03 2022, 05:18 pm
Singexy
Fri Dec 02 2022, 12:46 am
HoraceIdior
Thu Dec 01 2022, 05:17 am