matrix_to_list/2

"matrix_to_list(+ Matrix,- Elems" )

Unify Elems with the list including all the elements in Matrix.