This is a static copy of a profile reportHome
blanks (1999 calls, 0.055 sec)
Generated 05-Aug-2011 13:01:01 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/strfun/blanks.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
strcat | function | 1999 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
13 | b = space(ones(1,n)); | 1999 | 0.033 s | 60.0% |  |
12 | space = ' '; | 1999 | 0 s | 0% |  |
All other lines | | | 0.022 s | 40.0% |  |
Totals | | | 0.055 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 13 |
Non-code lines (comments, blank lines) | 11 |
Code lines (lines that can run) | 2 |
Code lines that did run | 2 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function b = blanks(n)
2 %BLANKS String of blanks.
3 % BLANKS(n) is a string 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-2009 The MathWorks, Inc.
10 % $Revision: 5.10.4.1 $ $Date: 2009/04/21 03:26:40 $
11
1999 12 space = ' ';
0.03 1999 13 b = space(ones(1,n));