MATLAB: How do i change a variable name from workspace

digital image processingMATLABworkspace

i have a sequence of .mat files. When i load the mat files into workspace, the variable names are composed of sing or double underscore such as 'IR0004__, IR 10001_'. Thus, i would like to change these variables to be only number. How can i delete the underscore?
Please suggest Thank you

Best Answer

new_var_name=old_var_name;
clear('old_var_name');