If the magistrate is satisfied by evidence upon oath that any person likely to give material evidence whether for the complainant or for the defendant, will not attend to give evidence without being compelled to do so, he or she may issue a warrant to compel the attendance of that person.