This is a static copy of a profile report

Home

workspacefunc (8 calls, 0.011 sec)
Generated 05-Aug-2011 13:01:05 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/codetools/workspacefunc.m
Copy to new window for comparing multiple runs

Parents (calling functions)
No parent
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
29
varargout = {getStatObjectsJ(v...
40.011 s100.0%
33
varargout = {getWhosInformatio...
20 s0%
32
case 'getwhosinformation',
20 s0%
30
case 'getshortvalueerrorobject...
20 s0%
28
case 'getstatobjectsj',
60 s0%
All other lines  0 s0%
Totals  0.011 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
workspacefunc>getStatObjectsJsubfunction40.011 s100.0%
workspacefunc>getShortValueObjectsJsubfunction20 s0%
workspacefunc>getWhosInformationsubfunction20 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.011 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function39
Non-code lines (comments, blank lines)7
Code lines (lines that can run)32
Code lines that did run17
Code lines that did not run15
Coverage (did run/can run)53.12 %
Function listing
   time   calls  line
1 function varargout = workspacefunc(whichcall, varargin)
2 %WORKSPACEFUNC Support function for Workspace browser component.
3
4 % Copyright 1984-2010 The MathWorks, Inc.
5 % $Revision: 1.1.6.31 $ $Date: 2010/08/16 21:00:59 $
6
8 7 switch whichcall
8 8 case 'getcopyname',
9 varargout = {getCopyName(varargin{1}, varargin{2})};
8 10 case 'getnewname',
11 varargout = {getNewName(varargin{1})};
8 12 case 'getshortvalue',
13 varargout = {getShortValue(varargin{1})};
8 14 case 'getshortvalues',
15 getShortValues(varargin{1});
8 16 case 'getshortvalueserror',
17 getShortValuesError(varargin{1});
8 18 case 'getshortvalueobjectj',
19 varargout = {getShortValueObjectJ(varargin{1}, varargin{2:end})};
8 20 case 'num2complex',
21 varargout = {num2complex(varargin{1}, varargin{2:end})};
8 22 case 'getshortvalueobjectsj',
2 23 varargout = {getShortValueObjectsJ(varargin{1})};
6 24 case 'getabstractvaluesummariesj',
25 varargout = {getAbstractValueSummariesJ(varargin{1})};
6 26 case 'getstatobjectm',
27 varargout = {getStatObjectM(varargin{1}, varargin{2}, varargin{3})};
6 28 case 'getstatobjectsj',
0.01 4 29 varargout = {getStatObjectsJ(varargin{1}, varargin{2}, varargin{3}, varargin{4})};
2 30 case 'getshortvalueerrorobjects',
31 varargout = {getShortValueErrorObjects(varargin{1})};
2 32 case 'getwhosinformation',
2 33 varargout = {getWhosInformation(varargin{1})};
34 case 'areAnyVariablesReadOnly',
35 varargout = {areAnyVariablesReadOnly(varargin{1}, varargin{2})};
36 otherwise
37 error('MATLAB:workspacefunc:unknownOption', ...
38 'Unknown command option.');
39 end

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