s there any way to convert matlab code to arduino
No.
or any way to access arduino board by matlab?
Yes.
http://arduino.cc/playground/Interfacing/Matlab