This is a static copy of a profile report

Home

varNamesDim>varNamesDim.setCustomProps (Calls: 6, Time: 0.001 s)
Generated 04-Jun-2021 04:11:25 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\datatypes\tabular\+matlab\+internal\+tabular\+private\varNamesDim.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
tabular.horzcatfunction6
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
550
obj.hasCustomProps = ~isempty(...
60.000 s38.3%
549
obj.customProps = customPropSt...
60.000 s21.4%
548
if isstruct(customPropStruct) ...
60.000 s19.0%
552
end
60.000 s1.3%
551
end
60.000 s0.1%
All other lines  0.000 s19.9%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function10
Non-code lines (comments, blank lines)5
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 543 
        function obj = setCustomProps(obj,customPropStruct)
 544 
            % SETCUSTOMPROPS directly assigns customPropStruct into the
 545 
            % customProps property, updates the instance's state
 546 
            % accordingly. It does NOT perform error-check on
 547 
            % customPropStruct.
< 0.001 
      6 
 548
            if isstruct(customPropStruct) && isscalar(customPropStruct) 
< 0.001 
      6 
 549
                obj.customProps = customPropStruct; 
< 0.001 
      6 
 550
                obj.hasCustomProps = ~isempty(fieldnames(customPropStruct)); 
< 0.001 
      6 
 551
            end 
< 0.001 
      6 
 552
        end 

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