Hi soleil2006,
I assume you mean labview instead of matlab.
If I understand your quenstion correctly, you want to establish connection between a PC and a µC-Unit via serial RS232.
You have to implement serial communication on both sides.
In labview you can simply use the serial VIs found on the functions-pallette under "instruments-I/O". In order to be able to access the interface you have to install the VISA-driver from the driver-CD. Examples can be found in the labview folder under "
labview\examples\instr\smplserl.llb" library.Maybe the available serial ports appear as "ASRL..." and correspond to the COMs (ASRL10 ist the parallelport).
On the other side you have to implement serial interface on the mcu. How to do this, depends on the mcu-type and should be described in the mcu datasheet and programmers-handbook.
Also you'll have to define the transferprotocoll, -speed and the instructions you want to use.
Lorand