while programming microcontroller for real time applications we can access pins of microcontroller to take input from real time devices like sensors viz. PORT A^1 ,PORT A^2. In the same way,how to access hardware ports in MATLAB while programming? Is it possible ?