[未答复] 2014搭建的模型可以正常生成代码,r2016a生成代码报错

[复制链接]
andyandlee 发表于 2016-12-24 10:43:45
报的错误如下:
Error: File: D:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\opaquelib.tlc Line: 2041 Column: 35
Unable to find VarGroupIdx within the DWork scope


Component: Simulink | Category: Build error



??? Subsystem build failed
做了一下update advisor 只报了warning
  Analyze model hierarchy and continue upgrade sequence


The Upgrade Advisor guides you through the following sequence for upgrading your models:

  • The Upgrade Advisor opens each model and library in turn, from leaf to root, and selects the non-compile checks. Run the checks, take any advised actions, then click Continue Upgrade Sequence to open the next model and continue.
  • When you reach the root end of the hierarchy, the Upgrade Advisor then opens each model again in the same order (but not libraries) and selects only the checks that require a model compile (marked with ^). Run the checks, take any advised actions, then click Continue Upgrade Sequence to open the next model. Continue until you reach the end of the hierarchy and this check passes.
If there are no child models, you still need to continue the check sequence until you have run both non-compile and compile checks (marked with ^).
The current results guide you through upgrading your entire hierarchy from leaf to root model, running the Upgrade Advisor on each model in turn. Click here to clear any hierarchy results and run this check on the current model only.

。尝试缩减模型的输入变量可以生成代码,但是有其他方式么?



1 条回复


andyandlee 发表于 2016-12-24 10:44:40
输入变量肯定是不能减少的,所以求大神支招
您需要登录后才可以回帖 登录 | 注册

本版积分规则

相关帖子
相关文章
热门教程
站长推荐
快速回复 返回顶部 返回列表