call to i-o mex function set up

function is hanging - debug!