Fix matlab dlg2.