This is a static copy of a profile report

Home

categorical.categories (Calls: 8, Time: 0.000 s)
Generated 04-Jun-2021 04:11:26 using performance time.
function in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\datatypes\categorical\@categorical\categories.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
script9script8
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
13
l = a.categoryNames;
80.000 s39.9%
All other lines  0.000 s60.1%
Totals  0.000 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function13
Non-code lines (comments, blank lines)12
Code lines (lines that can run)1
Code lines that did run1
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function l = categories(a)
   2 
%CATEGORIES Get a list of a categorical array's categories.
   3 
%   S = CATEGORIES(A) returns the list of categories in the categorical array A.
   4 
%   S is a cell array of character vectors.
   5 
%
   6 
%   S includes all categories in A, even those not appearing in any element of
   7 
%   A. To see the values actually present in elements of A, use UNIQUE.
   8 
%
   9 
%   See also ADDCATS, REMOVECATS, ISCATEGORY, MERGECATS, RENAMECATS, REORDERCATS, SETCATS, UNIQUE.
  10 

  11 
%   Copyright 2013-2016 The MathWorks, Inc.
  12 

< 0.001 
      8 
  13
l = a.categoryNames; 

Other subfunctions in this file are not included in this listing.