clear_type

This function clears all the variables defined by its input argument.

You are now following this Submission

This function will clear the variables of class "type" where "type" is given as input argument to the function.

clear_type double or clear_type('double')

the above commands will clear all the variables of class double in base workspace.

clear_type cell or clear_type('cell')

the above command will clear all the variables of class cell in base workspace.

clear_type gpib or clear_type('gpib')

th eabove command will clear all the variables of class gpib in base workspace.

Cite As

Amit Gaharwar (2026). clear_type (https://in.mathworks.com/matlabcentral/fileexchange/5436-clear_type), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0