https://www.mathworks.com/help/rtw/microbit/ref/configurepin.html
configurePin - Configure and display pin modes on BBC micro:bit board - MATLAB
This MATLAB function displays the mode of the pin on the BBC micro:bit board, specified as a microbit object .