MATLAB: How to deselect all Variables at once when importing a MAT-file in MATLAB 7.5 (R2007b)

matMATLABselectselectionuiimport

I want to import one variable of a MAT-file using the import wizard. However when opening the wizard all variables are selected automatically and I have to cumbersomely deselect them manually.
I would like to have an 'deselect all' button in the import wizard.

Best Answer

The ability to do deselect all variables is not available in import wizard in MATLAB.
To work around this issue, you can peep into the mat-file to check the containing variables using WHO or WHOS and load only specified variables using LOAD.
whos -file mydata.mat
load mydata.mat myVar1 myVar2