This is a static copy of a profile reportHome
importdata>split (8 calls, 0.011 sec)
Generated 05-Aug-2011 13:01:24 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/iofun/importdata.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
668 | cellOut = (cellOut{1})'; | 8 | 0 s | 0% |  |
662 | indOut = regexp(strtrim(fileSt... | 8 | 0 s | 0% |  |
660 | cellOut = textscan(fileString,... | 8 | 0 s | 0% |  |
657 | if delim.printed == ' ' | 8 | 0 s | 0% |  |
All other lines | | | 0.011 s | 100.0% |  |
Totals | | | 0.011 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 14 |
Non-code lines (comments, blank lines) | 6 |
Code lines (lines that can run) | 8 |
Code lines that did run | 4 |
Code lines that did not run | 4 |
Coverage (did run/can run) | 50.00 % |
Function listing
time calls line
655 function [cellOut indOut] = split(fileString, delim)
656 %SPLIT rip string apart
8 657 if delim.printed == ' '
658 %Multiple spaces are often used as a "fixed-width", thus we treat them
659 %differently.
8 660 cellOut = textscan(fileString,'%s','delimiter',delim.requested,...
661 'multipleDelimsAsOne', 1, 'whitespace','');
8 662 indOut = regexp(strtrim(fileString),' [^ ]') ;
663 else
664 cellOut = textscan(fileString,'%s','delimiter',delim.requested,...
665 'whitespace','');
666 indOut = strfind(fileString,delim.printed);
667 end
8 668 cellOut = (cellOut{1})';
Other subfunctions in this file are not included in this listing.