MATLAB: Does the documentation for the EXTRACTCTF function in MATLAB Compiler state that the CTF archive expands into the current working directory, even though it is actually expanded into the directory containing the CTF-file

MATLAB Compiler

The documentation for extractCTF states:
This utility takes the name of the CTF archive as input and expands the archive into the current working directory.
However, extractCTF always expands the specified CTF-file into the same directory that contains the CTF-file regardless of the current working directory.
Furthermore, from the documentation, it is unclear that extractCTF should be executed at a DOS Command Prompt. It would be clearer if the given example mentioned using the bang (!) operator while using extractCTF from the MATLAB prompt.

Best Answer

This bug has been fixed in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
This is an error in the documentation for MATLAB Compiler within the 'Extracting a CTF Archive without Executing the Component' section. The documentation should read:
This utility takes the name of the CTF archive as input and expands the archive into the directory containing the CTF-file.