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

回答(2 个)

Rishabh Rathore
Rishabh Rathore 2019-1-18

0 个投票

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

0 个投票

I uninstalled Matlab2015b and installed Matlab2017b to solve the problem

类别

帮助中心File Exchange 中查找有关 代码生成 的更多信息

产品

版本

R2015b

标签

Community Treasure Hunt

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

Start Hunting!