GO:0003857:   3-hydroxyacyl-CoA dehydrogenase activity
Catalysis of the reaction: (S)-3-hydroxyacyl-CoA + NAD+ = 3-oxoacyl-CoA + NADH + H(+).