Why do a get an error using 'movefile' when I generate code?

I have a large model and I am using the parallel model reference build feature to speed up code generation. Building fails, however, with the nondescript error message 'Error using movefile, Unknown error occurred.'

 採用された回答

MathWorks Support Team
MathWorks Support Team 2020 年 5 月 19 日

0 投票

This particular stack trace has been observed to be caused by third-party antivirus software interfering with Simulink. Please test whether you are able to generate code with your antivirus software disabled.
If your antivirus is not causing the error, then it is likely a file permissions issue. Please check that you have read and write permissions in your current working directory, the code generation folder, and the temporary directory (tempdir).

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2012a

Community Treasure Hunt

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

Start Hunting!

Translated by