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.'

 采纳的回答

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 Exchange 中查找有关 Simulink Coder 的更多信息

产品

版本

R2012a

Community Treasure Hunt

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

Start Hunting!

Translated by