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: 4, Time: 0.002 s)
Generated 28-Jun-2020 10:10:19 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
strcatfunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
12
b = space(ones(1,n));
40.002 s89.6%
11
space = ' ';
40.000 s0.0%
All other lines  0.000 s10.3%
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 
      4 
  11
space = ' '; 
  0.002 
      4 
  12
b = space(ones(1,n)); 

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