This is a static copy of a profile report

Home

assertUnsupportedParamsForFileType (Calls: 4, Time: 0.001 s)
Generated 04-Jun-2021 04:11:08 using performance time.
function in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\+internal\+utility\assertUnsupportedParamsForFileType.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...eadsheet>checkWrongParamsWrongTypeclass method2
...eadsheet>checkWrongParamsWrongTypeclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
5
for p = string(params(:))'
40.001 s46.0%
6
if isfield(supplied,p) &&a...
580.000 s25.5%
9
end
580.000 s18.7%
10
end
40.000 s0.2%
8
end
580.000 s0.2%
All other lines  0.000 s9.4%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function10
Non-code lines (comments, blank lines)4
Code lines (lines that can run)6
Code lines that did run5
Code lines that did not run1
Coverage (did run/can run)83.33 %
Function listing
time 
Calls 
 line
   1 
function assertUnsupportedParamsForFileType(params,supplied,fileType)
   2 
% utility to check for unsupported parameters
   3 

   4 
% Copyright 2019 MathWorks, inc.
< 0.001 
      4 
   5
    for p = string(params(:))' 
< 0.001 
     58 
   6
        if isfield(supplied,p) && supplied.(p) 
   7 
            error(message('MATLAB:textio:detectImportOptions:ParamWrongFileType',p,fileType))
< 0.001 
     58 
   8
        end 
< 0.001 
     58 
   9
    end 
< 0.001 
      4 
  10
end 

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