Opening .prj file with MATLAB 2016b

17 views (last 30 days)
RJSB on 8 Jul 2022
Answered: Fangjun Jiang on 8 Jul 2022
I am opening a .prj file. When I open the file in MATLAB 2019b, it opens as a project in the Project environment showing the list of files in that project. However, when I am opening the same file in MATLAB 2016b, it is opening as a simple .m file as shown here (am showing the part of the file):
<?xml version="1.0" encoding="UTF-8"?>
<MATLABProject xmlns=""
How do I open the file with MATLAB R2016b such that it opens in project environment? Also, when I try to give the MATLAB Command: >> proj = openProject('ProjPath.prj'), i get the following error
Undefined function or variable 'openProject'.
What is the reason for this error?

Answers (1)

Fangjun Jiang
Fangjun Jiang on 8 Jul 2022
I think the concept of MATLAB Project does not exist in R2016b. I don't remember the exact starting version but the help document of openProject() says "introduced in R2019a".



Community Treasure Hunt

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

Start Hunting!

Translated by