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: 3, Time: 0.001 s)
Generated 01-May-2020 08:41:17 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
strcatfunction3
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
12
b = space(ones(1,n));
30.001 s84.9%
11
space = ' ';
30.000 s0.0%
All other lines  0.000 s15.0%
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 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 
      3 
  11
space = ' '; 
  0.001 
      3 
  12
b = space(ones(1,n)); 

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