I watched Fassbinder's films again, particularly Querelle... The film itself didn't influence Matador, because it's completely different, but the general concept of desire in Querelle and its visual abstraction might have influenced me.
Films That Influenced Matador