time | Calls | line |
---|
| | 21 | function exts = getExtensionsFromType(type)
|
< 0.001 | 2 | 22 | type = convertStringsToChars(lower(type));
|
< 0.001 | 2 | 23 | switch(type)
|
< 0.001 | 2 | 24 | case ''
|
< 0.001 | 2 | 25 | exts = matlab.io.internal.FileExtensions.AllExtensions;
|
| | 26 | case {'text','delimitedtext','fixedwidth'}
|
| | 27 | exts = matlab.io.internal.FileExtensions.TextExtensions;
|
| | 28 | case 'spreadsheet'
|
| | 29 | exts = matlab.io.internal.FileExtensions.SpreadsheetExtensions;
|
| | 30 | case 'xml'
|
| | 31 | exts = matlab.io.internal.FileExtensions.XMLExtensions;
|
| | 32 | otherwise
|
| | 33 | assert(false,"Not a valid file type");
|
< 0.001 | 2 | 34 | end
|
< 0.001 | 2 | 35 | end
|
Other subfunctions in this file are not included in this listing.