Q. I encounter an error where the MATLAB command window shows "Build process completed successfully". But the build files fail to get generated. Error looks as follows: {{attachment:1.png}} A. This error occurs because your working directory properties is set to "read-only". {{attachment:read.JPG}} Once these changes are made. Close MATLAB, reopen and rebuild the model.