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 ExchangeProjects についてさらに検索

製品

タグ

質問済み:

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