Error message 'No project found in root folder'

15 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 4 Nov 2020
Commenté : Robert le 12 Avr 2021
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?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 4 Nov 2020
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 commentaire
Robert
Robert le 12 Avr 2021
For me, it's
matlab.project.convertDefinitionFiles
(note the upper case letters)
The rest works though. Cheers!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by