Why do I receive a "Not a valid project" error when I try to open a deploytool project in MATLAB R2014b?

7 views (last 30 days)
I have an old deploytool project that was created in an older version of MATLAB. When I try to open the '.prj' file in MATLAB R2014b, I get the following error:
   
How can I resolve the above error in order to open the deploytool projects created in older versions of MATLAB in MATLAB R2014b?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Dec 2014
This is because MATLAB R2014b is unable to read the '.prj' file as the XML structure it expects is different. Please refer to the following table for expected behavior when you try to open deploytool projects in MATLAB R2014b:
To fix the “Not a valid project” error in the MATLAB R2011b, R2011a and R2010b, please edit the '.prj' file which is an XML file using a text editor and replace Line 2 
 
<deployment-project>
with
<deployment-project plugin="plugin.deploytool" plugin-version="1.0">
Save the changes and try to open the project file. This should now prompt the “Upgrading Project File” dialog as shown below:
Please note that after you upgrade the project file, a '.bkp' file is created which can be used to reopen the project in the older version of MATLAB.

More Answers (0)

Categories

Find more on Java Package Integration in Help Center and File Exchange

Products


Release

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!