Experimental verification of the direct elastomagnetic effect