User`s guide
R2015a
1-6
fullfile Function: Maintain all double-dot symbols
The fullfile function now maintains all double-dot symbols in the input file parts.
This behavior is consistent with the treatment of double-dot symbols in R2012b and
earlier.
In R2013a through R2014b, fullfile collapsed inner relative directories indicated by
double-dot (..) symbols and returned an equivalent full file path specification that did not
display the symbols. The double-dot symbols were maintained only if they appeared at
either end of the full file path specification.
For example, the commands,
f = fullfile('C:\foo\folder1\..\folder2')
h = fullfile('\\folder4\.')
now return:
f =
C:\foo\folder1\..\folder2
h =
\\folder4\.
In R2013a through R2014b, the same commands returned:
f =
C:\foo\folder2
h =
\\folder4\.
Compatibility Considerations
Change code that relies on resolving double-dot symbols in a full file path.
Python Objects: Indexing Support
For more information, see:
• “Accessing Elements in Python Container Types”
• “Limitations to Indexing into Python Objects”
For examples, see: