This is a static copy of a profile report

Home

Function details for blanksThis is a static copy of a profile report

Home

blanks (Calls: 1, Time: 0.002 s)
Generated 19-Apr-2020 09:41:43 using performance time.
function in file /Applications/MATLAB_R2018a.app/toolbox/matlab/strfun/blanks.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
strcatfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
12
b = space(ones(1,n));
10.001 s72.1%
11
space = ' ';
10.000 s0.0%
All other lines  0.000 s27.9%
Totals  0.002 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)10
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function b = blanks(n)
   2 
%BLANKS Character vector of blanks
   3 
%   BLANKS(n) returns a character vector of n blanks.
   4 
%   Use with DISP, e.g.  DISP(['xxx' BLANKS(20) 'yyy']).
   5 
%   DISP(BLANKS(n)') moves the cursor down n lines.
   6 
%
   7 
%   See also CLC, HOME, FORMAT.
   8 

   9 
%   Copyright 1984-2016 The MathWorks, Inc.
  10 

< 0.001 
      1 
  11
space = ' '; 
  0.001 
      1 
  12
b = space(ones(1,n)); 

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