MATLAB support package for raspberry pi flashes a custom OS image on the SD card. Before it flashes the OS it erases all the contents on the SD card.
In the MATLAB command window execute >> targetupdater
and complete all the hardware setup steps.
Once the steps are completed, We should be able to communicate with the the pi board.
Ensure you have chosen the appropriate board type in the 'targetupdater '.