This is a static copy of a profile report

Home

DecimalSeparatorInput>DecimalSeparatorInput.DecimalSeparatorInput (Calls: 15, Time: 0.000 s)
Generated 04-Jun-2021 04:11:21 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\+internal\+shared\DecimalSeparatorInput.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...ricVarOptsInputs.NumericVarOptsInputsclass method15
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
1
classdef DecimalSeparatorInput...
150.000 s2.0%
All other lines  0.000 s98.0%
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 function26
Non-code lines (comments, blank lines)19
Code lines (lines that can run)7
Code lines that did run1
Code lines that did not run6
Coverage (did run/can run)14.29 %
Function listing
time 
Calls 
 line
< 0.001 
     15 
   1
classdef DecimalSeparatorInput < matlab.io.internal.FunctionInterface 
   2 
%
   3 

   4 
%   Copyright 2018 The MathWorks, Inc.
   5 

   6 
    properties (Parameter)
   7 
        %DECIMALSEPARATOR
   8 
        %   The character to be used when importing times with fractional
   9 
        %   seconds.
  10 
        %
  11 
        %   See also matlab.io.DurationVariableImportOptions
  12 
        DecimalSeparator = '.';
  13 
    end 
  14 
    
  15 
    methods
  16 
        function obj = set.DecimalSeparator(obj,rhs)
  17 
        rhs = convertStringsToChars(rhs);
  18 
        if ~matlab.io.internal.validateScalarSeparator(rhs)
  19 
            error(message('MATLAB:textio:textio:InvalidDecimalSep'))
  20 
        end
  21 
        obj.DecimalSeparator = rhs;
  22 
        end
  23 
    end
  24 
end
  25 

  26