loadrv loads recent matfile in the current directory to the current workspace for a given var usage: loadrv If only a single variable, it can be a char array loadrv('tott') loadrv({'tott'}) loadrv({'tott','totalstep'}) % for multiple varriables (must be cell array)