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

Billytesee
Sat Mar 25 2023, 11:19 pm
imobiliare
Sat Mar 25 2023, 09:02 pm
StevCXenlam
Sat Mar 25 2023, 02:32 pm
JacobRes
Sat Mar 25 2023, 01:26 pm
JulioTuh
Sat Mar 25 2023, 01:15 pm
Gustavotot
Sat Mar 25 2023, 10:04 am
ZarinPex
Sat Mar 25 2023, 07:33 am
GarryVency
Sat Mar 25 2023, 01:19 am