clear A = [1 2 3]; b = true; % print the list of variables in the workspace who % if saved to a variable, saves the variables as a nx1 cell vars = who; % prints all variables along with class, size, byes, attributes whos % prints info for a single var whos A % identify the type of a variable class(A) class(b) c = int32(3); % class doesn't work with literals :( class(c) % test for data type isinteger(c) isnumeric(A), isnumeric(c) ismatrix(c) isa(A, 'numeric') % find the file where a user or built-in function is defined which eye;