Cuban leader Fidel Castro has appeared in public for the first time in nine months, attending an art gallery opening near his home, the local press reported.