Error message 'No project found in root folder'

I created a MATLAB project in MATLAB R2020b. I wanted to open it in R2019a, but received the following error message:
Error using open (line 146)
Could not load the project at
C:\Users\MATLAB\Projects
No project found in root folder.
Why?

 采纳的回答

The default definition type for the project created in R2020b is changed to "FixedPathMultiFile". If you would like to open it in R2019a, you have to convert the project definition files to a format available back in R2019a using the following function with the "definitionType" argument equal to "matlab.project.DefinitionFiles.MultiFile":
matlab.project.convertdefinitionfiles(projectRoot,matlab.project.DefinitionFiles.MultiFile)
For more information, please refer to the following link:
 
Similarly, for Simulink Projects, please use the following function to convert the project:
Simulink.exportToVersion
For more information, please refer to the following link:

1 个评论

For me, it's
matlab.project.convertDefinitionFiles
(note the upper case letters)
The rest works though. Cheers!

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息

产品

版本

R2020b

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by