This is a static copy of a profile report

Home

spalloc (2 calls, 0.000 sec)
Generated 04-Aug-2014 13:05:21 using cpu time.
function in file /share/apps/matlabr2014a/toolbox/matlab/sparfun/spalloc.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
FluidsSolver2_DO3function2
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
16
s = sparse([],[],[],m,n,nzmax)...
20 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function16
Non-code lines (comments, blank lines)15
Code lines (lines that can run)1
Code lines that did run1
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
calls 
 line
   1 
function s = spalloc(m,n,nzmax)
   2 
%SPALLOC Allocate space for sparse matrix.
   3 
%   S = SPALLOC(M,N,NZMAX) creates an M-by-N all zero sparse matrix
   4 
%   with room to eventually hold NZMAX nonzeros.
   5 
%
   6 
%   For example
   7 
%       s = spalloc(n,n,3*n);
   8 
%       for j = 1:n
   9 
%           s(:,j) = (a sparse column vector with 3 nonzero entries);
  10 
%       end
  11 
%
  12 
%   See also SPONES, SPDIAGS, SPRANDN, SPRANDSYM, SPEYE, SPARSE.
  13 

  14 
%   Copyright 1984-2013 The MathWorks, Inc. 
  15 

      2 
  16 
s = sparse([],[],[],m,n,nzmax);