This is a static copy of a profile report

Home

printtemplate (12 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:22 using cpu time.
function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/printtemplate.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...PrintPath>LocalSetupContentChangessubfunction12
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
45
pt.DebugMode = 0;           %B...
120 s0%
43
pt.PrintDriver = '';        %D...
120 s0%
41
pt.Destination = 'printer'; %'...
120 s0%
40
pt.FileName = 'untitled';   %T...
120 s0%
39
pt.DPI = 0;                 %R...
120 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 function45
Non-code lines (comments, blank lines)21
Code lines (lines that can run)24
Code lines that did run21
Code lines that did not run3
Coverage (did run/can run)87.50 %
Function listing
time 
calls 
 line
   1 
function pt = printtemplate( varargin )
   2 
%PRINTTEMPLATE Constructor for PrintTemplate objects.
   3 
%   PrintTemplate is an object used to encapsulate settings and methods
   4 
%   to format Figures and models during output. This constructor defines
   5 
%   each class variable and supplies default values. Methods of this object
   6 
%   will be called during the export process to manipulate Handle Graphics
   7 
%   and Simulink model properties to achieve the desired output.
   8 
%
   9 
%   See also PRINT, @PRINTJOB.
  10 

  11 
%   Copyright 1984-2002 The MathWorks, Inc. 
  12 

     12 
  13 
if nargin == 1 && (isa(varargin{1}, 'printtemplate') || isstruct(varargin{1})) 
  14 
    %Copy creation
  15 
    pt = varargin{1};
  16 
    return
  17 
end
  18 

     12 
  19 
pt.VersionNumber = 1.0; 
  20 

     12 
  21 
pt.Name = '';               %Name for this template 
     12 
  22 
pt.FrameName = '';          %Name of printframe, if any, to use 
  23 

  24 
%Lines and Text objects do not look good dithered, user can ask for them not to be.
     12 
  25 
pt.DriverColor = 0;         %True if want Lines and Text left in color 
  26 

     12 
  27 
pt.AxesFreezeTicks = 0;     %True if Axes output with same tick marks as on screen 
     12 
  28 
pt.tickState = {};          %Cell array of Axes handles and XYZtickMode values 
     12 
  29 
pt.AxesFreezeLimits = 0;    %True if Axes output with same limits as on screen 
     12 
  30 
pt.limState = {};           %Cell array of Axes handles and XYZlimMode values 
  31 

     12 
  32 
pt.Loose = 0;               %Use loose bounding box for PS and Ghostscript drivers 
     12 
  33 
pt.CMYK = 0;                %Use CMYK colors in PS and Ghostscript drivers instead of RGB 
     12 
  34 
pt.Append = 0;              %Append to existing PS file without overwriting 
     12 
  35 
pt.Adobecset = 0;           %Use Adobe PS default character set encoding 
     12 
  36 
pt.PrintUI = 1;             %Print user interface controls 
     12 
  37 
pt.Renderer = 'auto';       %Print using a specific renderer 
     12 
  38 
pt.ResolutionMode = 'auto'; %Print using a specified resolution 
     12 
  39 
pt.DPI = 0;                 %Resolution to use when ResolutionMode is 'manual' 
     12 
  40 
pt.FileName = 'untitled';   %The name last used to save this object to disk 
     12 
  41 
pt.Destination = 'printer'; %'file' | 'printer'; where last PRINT command exported object 
  42 
                            %Gets name of last printer used from appdata, or preferences when available
     12 
  43 
pt.PrintDriver = '';        %Driver used when this Figure was last printed 
  44 

     12 
  45 
pt.DebugMode = 0;           %Boolean true to output diagnostics while printing. 

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