qtlab code for mimlab