hi i am final year student of electrical engineering and doing a project on 8051 microcontroller. in this project,i have to interface the 8051 to maltab for real world data.i successfully complete the interfacing and communicate serially on proteus.data which is transfer from 8051 to matlab is not accurate when i send more than one character.in single character, matlab does not show any data.plz help me,how to solve that problem as i am using 8051 first time.
No, you don't interface the 8051 to Matlab.
The 8051 doesn't have any specific "Matlab" interface - it neither knows nor cares anything of Matlab.
The 8051 does have a UART (Serial Port) which can be used to send bytes and/or receive bytes - but it makes absolutely no difference whatsoever to the 8051 what is connected to the other end of the serial link.
So start by testing with a connection to something simple like hyperterminal...