MATLAB: Can I use path abbreviations to specify the output directory when using the PUBLISH command in MATLAB

abbreviationsdirectoryenhancementMATLABoutputpathpublishrelative

The PUBLISH command requires that I use the full path name for the output directory. I would like to use the '.' and '..' abbreviations when listing the output directory. For example, I would like to set the output directory to:
opts.outputDir = './published'
instead of specifying the entire path:
opts.outputDir = '/home/username/published'

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
The ability to do use path abbreviations when specifying the output directory of the PUBLISH command is not available in MATLAB.
There are currently no known workarounds.