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

4 views (last 30 days)
haiwei wang
haiwei wang on 11 Jan 2019
Edited: haiwei wang on 27 Feb 2019
Capture.PNG

Answers (2)

Rishabh Rathore
Rishabh Rathore on 18 Jan 2019
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 on 27 Feb 2019
Edited: haiwei wang on 27 Feb 2019
I uninstalled Matlab2015b and installed Matlab2017b to solve the problem

Categories

Find more on 安装和许可简介 in Help Center and File Exchange

Tags

Products


Release

R2015b

Community Treasure Hunt

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

Start Hunting!