Output gained 0.1% in July from the previous month, the industry ministry has reported.