Opening .prj file with MATLAB 2016b

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="http://www.mathworks.com/MATLABProjectFile"
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?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2022년 7월 8일

1 개 추천

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".

카테고리

도움말 센터File Exchange에서 Projects에 대해 자세히 알아보기

제품

태그

질문:

2022년 7월 8일

답변:

2022년 7월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by