print>LocalHandleSimulink (6 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:15 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/print.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
function | 6 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
330 | end | 6 | 0 s | 0% | ![]() |
315 | if(isSLorSF(pj)) | 6 | 0 s | 0% | ![]() |
314 | done = false; | 6 | 0 s | 0% | ![]() |
312 | persistent slSfPrintFcnHandle; | 6 | 0 s | 0% | ![]() |
All other lines | 0 s | 0% | ![]() | ||
Totals | 0 s | 0% |
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
graphics/private/isSLorSF | function | 6 | 0 s | 0% | ![]() |
Self time (built-ins, overhead, etc.) | 0 s | 0% | ![]() | ||
Totals | 0 s | 0% |
Total lines in function | 22 |
Non-code lines (comments, blank lines) | 7 |
Code lines (lines that can run) | 15 |
Code lines that did run | 4 |
Code lines that did not run | 11 |
Coverage (did run/can run) | 26.67 % |
time | calls | line | |
---|---|---|---|
309 | function done = LocalHandleSimulink(pj) | ||
310 | % Function handle to be used for Simulink/Stateflow printing. | ||
311 | % Make persistent for efficiency (sramaswa) | ||
6 | 312 | persistent slSfPrintFcnHandle; | |
313 | |||
6 | 314 | done = false; | |
6 | 315 | if(isSLorSF(pj)) | |
316 | % Printer dialog | ||
317 | if (ispc() && strcmp(pj.Driver,'setup')) | ||
318 | eval('SLM3I.SLDomain.showPrintSetupDialog(pj.Handles{1}(1))'); | ||
319 | done = true; | ||
320 | return; | ||
321 | end | ||
322 | |||
323 | if(isempty(slSfPrintFcnHandle)) | ||
324 | slSfPrintFcnHandle = LocalGetSlSfPrintFcnHandle; | ||
325 | end | ||
326 | %pj = name(pj); | ||
327 | feval(slSfPrintFcnHandle, pj); | ||
328 | done = true; | ||
329 | end % if(isSLorSF(pj)) | ||
6 | 330 | end |
Other subfunctions in this file are not included in this listing.