由于 'sil\hostobj' 不存在,无法创建 'instrumentationInfo.mat'。
显示 更早的评论
回答(2 个)
Rishabh Rathore
2019-1-18
0 个投票
Suggestion 1
- Try deleting all the "slprj" folders in the directory you are working.
- After deleting "slprj", try to build and see if this error happens again.
Suggestion 2 (in case Suggestion 1 did not help)
- If the issue persists, please check the directories for Simulink codegen and Simulink cache. You can find more information on those folders in the following link:
- Make sure that the settings indicate that the "slprj" folder (codegen) is created in your current project directory. If it is not, set it to the current directory and try to build.
- (If step 2 did not work) Try to set both the cache and and the codegen directories to be in the same folder and see if that helps you build.
类别
在 帮助中心 和 File Exchange 中查找有关 代码生成 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!