All courses are free and open to the public.
When the local course is private, as at the Royal Perakiaolf Club at Ipoh, your hotel may be able to get you temporary membership if you are a member of a golf club back home.