PDA

View Full Version : Interface Matlab to BS2



Reff
03-04-2010, 02:35 PM
Can I know how to interface Matlab to BS2. Now I get the image result from Matlab. Then this Matlab result will send to BS2. If the Image result is true, the green LED will ON at the BS2. If the image result is false, red LED red will ON.
Thanks

nkod
03-04-2010, 04:46 PM
Hi Reff,
It's about 10 lines of codes not more , you will find more information about this in the matlab forum , is it serial port communication ? if yes have a look to this

http://www.mathworks.com/matlabcentral/newsreader/view_thread/273671

http://www.mathworks.com/matlabcentral/fileexchange/5060-rs232-blockset

NB: I have one PDF will help you alot , PM me your email and i will send it to you

Have a nice day

thuongluu
09-12-2012, 07:55 AM
Hi nkod,
i am also need your materials, so can you share to me? i need to use matlab simulink to contron BS2.
thank you very much
PS: can you show me the processing of comunication between 2 of them?