to be examined; (c) to require attendance out of court in cases not provided for in paragraph (a) of this subsection, before a judge, justice, or other officer authorized to administer oaths or take testimony in any matter under the laws of this state, it may be issued by the judge, justice, or other officer before whom the attendance is required.