Should be called as runs mat2avsr mat2avsr runs from the current workspace type help mat2avs, if the variable is not in the current workspace Reza