This is a static copy of a profile report

Home

strvcat (124 calls, 0.031 sec)
Generated 15-Mar-2007 12:01:45 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\strfun\strvcat.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
see_mind_picM-function3
see_mind_domM-function6
see_mindM-function108
see_mind_germM-function7
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
29
s = char(varargin{notempty});
1240.031 s99.9%
22
numinput = nargin;
1240.000 s0.1%
27
notempty = ~cellfun('isempty',...
1240 s0%
23
if numinput == 1 && is...
1240 s0%
Other lines & overhead  0 s0%
Totals  0.031 s100% 
Children (called functions)
No children
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in file31
Non-code lines (comments, blank lines)25
Code lines (lines that can run)6
Code lines that did run4
Code lines that did not run2
Coverage (did run/can run)66.67 %
Function listing
   time   calls  line
1 function s=strvcat(varargin)
2 %STRVCAT Vertically concatenate strings.
3 % S = STRVCAT(T1,T2,T3,..) forms the matrix S containing the text
4 % strings T1,T2,T3,... as rows. Automatically pads each string with
5 % blanks in order to form a valid matrix. Each text parameter, Ti, can
6 % itself be a string matrix. This allows the creation of arbitrarily
7 % large string matrices. Empty strings in the input are ignored.
8 %
9 % S = STRVCAT(C), when C is a cell array of strings, passes each
10 % element of C as an input to STRVCAT. Empty strings in the input are
11 % ignored.
12 %
13 % STRVCAT('Hello','Yes') is the same as ['Hello';'Yes '] except
14 % that the padding is done automatically.
15 %
16 % See also CELLSTR, CHAR, STRCAT.
17
18 % Clay M. Thompson 3-20-91
19 % Copyright 1984-2004 The MathWorks, Inc.
20 % $Revision: 1.25.4.2 $ $Date: 2004/04/16 22:08:54 $
21
< 0.01 124 22 numinput = nargin;
124 23 if numinput == 1 && iscellstr(varargin{1})
24 varargin = (varargin{1});
25 end
26 % find the empty cells
124 27 notempty = ~cellfun('isempty',varargin);
28 % vertically concatenate the non-empty cells.
0.03 124 29 s = char(varargin{notempty});
30
31