XML 82 R68.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Segment Information (Details Textual) | 12 Months Ended
--- | ---
Jun. 30, 2017 Rate | Jun. 30, 2016 Rate | Jun. 30, 2015 Rate
Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 19.50% | 14.80% | 12.30%
Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 15.30% | 10.60% | 7.00%
Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 5.20% | 8.30% | 6.50%
Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 4.20% | 4.40% | 5.70%
Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 4.00% | 4.20% | 4.80%
Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 2.70% | 3.90% | 4.00%
Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 2.20% | 3.80% | 3.90%
Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 3.40% | 3.10%
Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 2.30% | 2.80%
Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 2.10% | 2.80%
Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 1.60% | 2.40%
Electrical Infrastructure [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 38.90% | 0.00%
Electrical Infrastructure [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 46.00% | 0.00% | 0.00%
Electrical Infrastructure [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 12.70%
Electrical Infrastructure [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 16.60% | 0.00%
Electrical Infrastructure [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 12.70% | 0.00% | 25.10%
Electrical Infrastructure [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Electrical Infrastructure [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 14.40% | 0.00%
Electrical Infrastructure [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 12.70% | 16.30%
Electrical Infrastructure [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 14.70%
Electrical Infrastructure [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Electrical Infrastructure [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 12.70%
Oil Gas & Chemical [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 25.80% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 20.70% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 20.20% | 17.70%
Oil Gas & Chemical [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 11.20% | 12.30%
Oil Gas & Chemical [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Storage Solutions [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 48.50% | 10.20% | 33.00%
Storage Solutions [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 2.40% | 24.70% | 0.00%
Storage Solutions [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 19.30% | 10.90%
Storage Solutions [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Storage Solutions [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Storage Solutions [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Storage Solutions [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Industrial [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Industrial [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 34.00%
Industrial [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Industrial [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 27.60%
Industrial [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 36.90% | 0.00%
Industrial [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 31.70% | 0.00% | 0.00%
Industrial [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 25.80% | 0.00% | 19.00%
Industrial [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Industrial [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 20.10% | 0.00%
Industrial [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 0.00% | 0.00%
Industrial [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  | 14.00% | 0.00%

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=64851502&loc=d3e6351-108592 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13531-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=64851502&loc=d3e6404-108592 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EntityWideRevenueMajorCustomerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerFiveMemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerSixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerSevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerNineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerTenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mtrx_CustomerElevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_ElectricalInfrastructureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_OilGasAndChemicalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_StorageSolutionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_IndustrialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |