mex FPGA open/close test