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?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2020년 11월 4일

0 개 추천

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