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

ThomasGaxaW
Mon May 13 2024, 05:33 pm
RobertInfup
Mon May 13 2024, 04:28 pm
Joshuatem
Mon May 13 2024, 08:30 am
RaymondPex
Mon May 13 2024, 03:24 am
Kennethbycle
Sun May 12 2024, 03:12 pm
MumerMeags
Sun May 12 2024, 01:47 pm
IsaacZor
Sun May 12 2024, 11:26 am
DavidInomy
Sun May 12 2024, 09:03 am