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: 5, Time: 0.002 s)
Generated 28-Jun-2020 22:32:32 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
strcatfunction5
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
12
b = space(ones(1,n));
50.002 s87.3%
11
space = ' ';
50.000 s0.0%
All other lines  0.000 s12.6%
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 
      5 
  11
space = ' '; 
  0.002 
      5 
  12
b = space(ones(1,n)); 

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