To travel to Funchal you should fly to Madeira's International Airport and then take a transfer to the city center (15-minute drive).
This International Airport has regular scheduled flights to and from many European Airports, as well as some major world cities.
More information at https://www.madeiraairport.pt/