Opening .prj file with MATLAB 2016b

26 次查看(过去 30 天)
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
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".

类别

Help CenterFile Exchange 中查找有关 Projects 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by