MATLAB: Do I receive an error when trying to import a *.ai file from MATLAB into Adobe Illustrator 10.0

-dill1010.0adobeexportillustratorMATLAB

Why do I receive an error when trying to import a *.ai file from MATLAB into Adobe Illustrator 10.0?
I am exporting my MATLAB graphic using the following command:
print -dill filename
When I try to open this file in Adobe Illustrator 10.0, I receive the following error:
ERROR: Can't open the illustration.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This is a bug in the conversion of *.ai files from MATLAB into Adobe Illustrator 10.0. Our development staff is currently investigating this issue.
To work around this issue, you can export the file as an *.eps file and then load this file into Adobe Illustrator.
For example:
print -depsc2 -adobecset
Another way to work around this issue involves downloadinga user-contributed file from the MATLAB Central File Exchange. The author indicates that this file will update the ILL format images to a format Illustrator 10 can support. The file is located here:
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.