由于 'sil\hostobj' 不存在,无法创建 'instrumen​tationInfo​.mat'。

7 次查看(过去 30 天)
Capture.PNG

回答(2 个)

Rishabh Rathore
Rishabh Rathore 2019-1-18
Suggestion 1
  1. Try deleting all the "slprj" folders in the directory you are working.
  2. 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.

haiwei wang
haiwei wang 2019-2-27
编辑:haiwei wang 2019-2-27
I uninstalled Matlab2015b and installed Matlab2017b to solve the problem

类别

Help CenterFile Exchange 中查找有关 安装和许可简介 的更多信息

标签

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!