This is a static copy of a profile report

Home

automesh (606 calls, 0.160 sec)
Generated 05-Nov-2014 07:52:39 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/matlab/polyfun/automesh.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
xyzvchkfunction417
xyzchkfunction189
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
if all(cellfun(@isvector,varar...
6060.110 s68.7%
9
tf = false;
6060.020 s12.5%
All other lines  0.030 s18.8%
Totals  0.160 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function15
Non-code lines (comments, blank lines)10
Code lines (lines that can run)5
Code lines that did run2
Code lines that did not run3
Coverage (did run/can run)40.00 %
Function listing
   time   calls  line
1 function tf = automesh(varargin)
2 %AUTOMESH returns true if the inputs should be passed to meshgrid.
3 % AUTOMESH(X,Y,...) returns true if all the inputs are vectors and the
4 % orientations of all the inputs are not the same.
5
6 % Copyright 1984-2005 The MathWorks, Inc.
7 % $Revision: 1.8.4.1 $ $Date: 2005/12/12 23:26:21 $
8
0.02 606 9 tf = false;
0.11 606 10 if all(cellfun(@isvector,varargin))
11 % Location of non-singleton dimensions
12 ns = cellfun(@(x)size(x)~=1, varargin, 'UniformOutput', false);
13 % True if not all inputs have the same non-singleton dimension.
14 tf = ~isequal(ns{:});
15 end

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