Why do I get the error: "Cannot export project because these files are missing" when exporting a MATLAB Project programmatically?

5 ビュー (過去 30 日間)
I cannot export a MATLAB Project when there are missing files, even though those files are not used by the project. The error I get is:
Cannot export project because these files are missing
How do I resolve this error?

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 2 月 1 日
編集済み: MathWorks Support Team 2023 年 2 月 7 日
Prior to MATLAB R2020b, there was an limitation which prevented the project from being exported programmatically if the project contained files that no longer existed. This issue would also occur before R2020b when using "parsim" or "batchsim" on an external cluster with a project that contained missing files. 
The following are the two workarounds to this error:
  • Look for those files in the Project pane and remove any files from the project with the status shown as missing with a red ‘X’, as shown in the image below:
  • Upgrade MATLAB to R2020b or later.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by